Changeset View
Changeset View
Standalone View
Standalone View
sys/i386/include/proc.h
Show First 20 Lines • Show All 57 Lines • ▼ Show 20 Lines | |||||
struct mdproc { | struct mdproc { | ||||
struct proc_ldt *md_ldt; /* (t) per-process ldt */ | struct proc_ldt *md_ldt; /* (t) per-process ldt */ | ||||
}; | }; | ||||
#define KINFO_PROC_SIZE 768 | #define KINFO_PROC_SIZE 768 | ||||
struct syscall_args { | struct syscall_args { | ||||
u_int code; | u_int code; | ||||
kib: But this addition changes layout and probably triggers compile-time asserts in kern_thread.c. | |||||
Done Inline ActionsIt's before in both, but from what you say about KBIs it should be after on 64-bit architectures to enable MFC and it doesn't matter (but for consistency should probably be after) on 32-bit ones. theraven: It's before in both, but from what you say about KBIs it should be after on 64-bit… | |||||
u_int original_code; | |||||
struct sysent *callp; | struct sysent *callp; | ||||
register_t args[8]; | register_t args[8]; | ||||
}; | }; | ||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
/* Get the current kernel thread stack usage. */ | /* Get the current kernel thread stack usage. */ | ||||
#define GET_STACK_USAGE(total, used) do { \ | #define GET_STACK_USAGE(total, used) do { \ | ||||
Show All 16 Lines |
But this addition changes layout and probably triggers compile-time asserts in kern_thread.c.
BTW you are inconsistent: amd64 added original_code after code, i386 is reversed.