Changeset View
Changeset View
Standalone View
Standalone View
head/sys/i386/include/pcb.h
Show All 38 Lines | |||||
/* | /* | ||||
* Intel 386 process control block | * Intel 386 process control block | ||||
*/ | */ | ||||
#ifndef _KERNEL | #ifndef _KERNEL | ||||
#include <machine/segments.h> | #include <machine/segments.h> | ||||
#endif | #endif | ||||
#include <machine/npx.h> | #include <machine/npx.h> | ||||
/* | |||||
* NB: The fields marked with (*) are used by kernel debuggers. Their | |||||
* ABI should be preserved. | |||||
*/ | |||||
struct pcb { | struct pcb { | ||||
int pcb_edi; | int pcb_edi; /* (*) */ | ||||
int pcb_esi; | int pcb_esi; /* (*) */ | ||||
int pcb_ebp; | int pcb_ebp; /* (*) */ | ||||
int pcb_esp; | int pcb_esp; /* (*) */ | ||||
int pcb_ebx; | int pcb_ebx; /* (*) */ | ||||
int pcb_eip; | int pcb_eip; /* (*) */ | ||||
struct segment_descriptor pcb_fsd; | struct segment_descriptor pcb_fsd; | ||||
struct segment_descriptor pcb_gsd; | struct segment_descriptor pcb_gsd; | ||||
int pcb_ds; | int pcb_ds; | ||||
int pcb_es; | int pcb_es; | ||||
int pcb_fs; | int pcb_fs; | ||||
int pcb_gs; | int pcb_gs; | ||||
int pcb_ss; | int pcb_ss; | ||||
int pcb_cr0; | int pcb_cr0; | ||||
▲ Show 20 Lines • Show All 50 Lines • Show Last 20 Lines |