Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/pcpu.h
Show First 20 Lines • Show All 154 Lines • ▼ Show 20 Lines | struct pcpu { | ||||
struct pcb *pc_curpcb; /* Current pcb */ | struct pcb *pc_curpcb; /* Current pcb */ | ||||
uint64_t pc_switchtime; /* cpu_ticks() at last csw */ | uint64_t pc_switchtime; /* cpu_ticks() at last csw */ | ||||
int pc_switchticks; /* `ticks' at last csw */ | int pc_switchticks; /* `ticks' at last csw */ | ||||
u_int pc_cpuid; /* This cpu number */ | u_int pc_cpuid; /* This cpu number */ | ||||
STAILQ_ENTRY(pcpu) pc_allcpu; | STAILQ_ENTRY(pcpu) pc_allcpu; | ||||
struct lock_list_entry *pc_spinlocks; | struct lock_list_entry *pc_spinlocks; | ||||
struct vmmeter pc_cnt; /* VM stats counters */ | struct vmmeter pc_cnt; /* VM stats counters */ | ||||
long pc_cp_time[CPUSTATES]; /* statclock ticks */ | long pc_cp_time[CPUSTATES]; /* statclock ticks */ | ||||
struct device *pc_device; | device_t pc_device; | ||||
void *pc_netisr; /* netisr SWI cookie */ | void *pc_netisr; /* netisr SWI cookie */ | ||||
int pc_unused1; /* unused field */ | int pc_unused1; /* unused field */ | ||||
int pc_domain; /* Memory domain. */ | int pc_domain; /* Memory domain. */ | ||||
struct rm_queue pc_rm_queue; /* rmlock list of trackers */ | struct rm_queue pc_rm_queue; /* rmlock list of trackers */ | ||||
uintptr_t pc_dynamic; /* Dynamic per-cpu data area */ | uintptr_t pc_dynamic; /* Dynamic per-cpu data area */ | ||||
/* | /* | ||||
* Keep MD fields last, so that CPU-specific variations on a | * Keep MD fields last, so that CPU-specific variations on a | ||||
▲ Show 20 Lines • Show All 68 Lines • Show Last 20 Lines |