Changeset View
Changeset View
Standalone View
Standalone View
head/sys/amd64/include/pcb.h
Show First 20 Lines • Show All 78 Lines • ▼ Show 20 Lines | struct pcb { | ||||
uint16_t pcb_tr; | uint16_t pcb_tr; | ||||
u_int pcb_flags; | u_int pcb_flags; | ||||
#define PCB_FULL_IRET 0x01 /* full iret is required */ | #define PCB_FULL_IRET 0x01 /* full iret is required */ | ||||
#define PCB_DBREGS 0x02 /* process using debug registers */ | #define PCB_DBREGS 0x02 /* process using debug registers */ | ||||
#define PCB_KERNFPU 0x04 /* kernel uses fpu */ | #define PCB_KERNFPU 0x04 /* kernel uses fpu */ | ||||
#define PCB_FPUINITDONE 0x08 /* fpu state is initialized */ | #define PCB_FPUINITDONE 0x08 /* fpu state is initialized */ | ||||
#define PCB_USERFPUINITDONE 0x10 /* fpu user state is initialized */ | #define PCB_USERFPUINITDONE 0x10 /* fpu user state is initialized */ | ||||
#define PCB_KERNFPU_THR 0x20 /* fpu_kern_thread() */ | |||||
#define PCB_32BIT 0x40 /* process has 32 bit context (segs etc) */ | #define PCB_32BIT 0x40 /* process has 32 bit context (segs etc) */ | ||||
#define PCB_FPUNOSAVE 0x80 /* no save area for current FPU ctx */ | #define PCB_FPUNOSAVE 0x80 /* no save area for current FPU ctx */ | ||||
uint16_t pcb_initial_fpucw; | uint16_t pcb_initial_fpucw; | ||||
/* copyin/out fault recovery */ | /* copyin/out fault recovery */ | ||||
caddr_t pcb_onfault; | caddr_t pcb_onfault; | ||||
▲ Show 20 Lines • Show All 45 Lines • Show Last 20 Lines |