sys_machdep.c (5) | sys_machdep.c (132) |
---|---|
1 2/*- 3 * Copyright (c) 1990 The Regents of the University of California. 4 * All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * William Jolitz. 8 * --- 38 unchanged lines hidden (view full) --- 47#include "kernel.h" 48#include "mtio.h" 49#include "buf.h" 50#include "trace.h" 51 52#ifdef TRACE 53int nvualarm; 54 | 1 2/*- 3 * Copyright (c) 1990 The Regents of the University of California. 4 * All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * William Jolitz. 8 * --- 38 unchanged lines hidden (view full) --- 47#include "kernel.h" 48#include "mtio.h" 49#include "buf.h" 50#include "trace.h" 51 52#ifdef TRACE 53int nvualarm; 54 |
55struct vtrace_args { 56 int request; 57 int value; 58}; 59 |
|
55vtrace(p, uap, retval) 56 struct proc *p; | 60vtrace(p, uap, retval) 61 struct proc *p; |
57 register struct args { 58 int request; 59 int value; 60 } *uap; | 62 register struct vtrace_args *uap; |
61 int *retval; 62{ 63 int vdoualarm(); 64 65 switch (uap->request) { 66 67 case VTR_DISABLE: /* disable a trace point */ 68 case VTR_ENABLE: /* enable a trace point */ --- 37 unchanged lines hidden --- | 63 int *retval; 64{ 65 int vdoualarm(); 66 67 switch (uap->request) { 68 69 case VTR_DISABLE: /* disable a trace point */ 70 case VTR_ENABLE: /* enable a trace point */ --- 37 unchanged lines hidden --- |