-typedef struct x86_lcpu
-{
- struct x86_lcpu *next_in_core; /* next logical cpu in core */
- struct x86_lcpu *next_in_die; /* next logical cpu in die */
- struct x86_lcpu *next_in_pkg; /* next logical cpu in package */
- struct x86_lcpu *lcpu; /* pointer back to self */
- struct x86_core *core; /* core containing the logical cpu */
- struct x86_die *die; /* die containing the logical cpu */
- struct x86_pkg *package; /* package containing the logical cpu */
- struct cpu_data *cpu; /* cpu_data structure */
- uint32_t cpu_num; /* cpu number */
- uint32_t lnum; /* logical cpu number (within core) */
- uint32_t pnum; /* physical cpu number */
- boolean_t master; /* logical cpu is the master (boot) CPU */
- boolean_t primary; /* logical cpu is primary CPU in package */
- volatile lcpu_state_t state; /* state of the logical CPU */
- volatile boolean_t stopped; /* used to indicate that the CPU has "stopped" */
- uint64_t rtcPop; /* when etimer wants a timer pop */
- uint64_t rtcDeadline;
- x86_cpu_cache_t *caches[MAX_CACHE_DEPTH];
- struct pmc *pmc; /* Pointer to perfmon data */
- void *pmStats; /* Power management stats for lcpu */
- void *pmState; /* Power management state for lcpu */
+typedef struct x86_lcpu {
+ struct x86_lcpu *next_in_core;/* next logical cpu in core */
+ struct x86_lcpu *next_in_die;/* next logical cpu in die */
+ struct x86_lcpu *next_in_pkg;/* next logical cpu in package */
+ struct x86_lcpu *lcpu; /* pointer back to self */
+ struct x86_core *core; /* core containing the logical cpu */
+ struct x86_die *die; /* die containing the logical cpu */
+ struct x86_pkg *package; /* package containing the logical cpu */
+ struct cpu_data *cpu; /* cpu_data structure */
+ uint32_t flags;
+ uint32_t cpu_num; /* cpu number */
+ uint32_t lnum; /* logical cpu number (within core) */
+ uint32_t pnum; /* physical cpu number */
+ boolean_t master; /* logical cpu is the master (boot) CPU */
+ boolean_t primary; /* logical cpu is primary CPU in package */
+ volatile lcpu_state_t state;/* state of the logical CPU */
+ volatile boolean_t stopped; /* used to indicate that the CPU has "stopped" */
+ uint64_t rtcPop; /* next timer pop programmed */
+ uint64_t rtcDeadline;/* next etimer-requested deadline */
+ x86_cpu_cache_t *caches[MAX_CACHE_DEPTH];
+ void *pmStats; /* Power management stats for lcpu */
+ void *pmState; /* Power management state for lcpu */