Changeset 138 for trunk/hal/x86_64/core/hal_special.c
- Timestamp:
- Jul 4, 2017, 12:05:39 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/core/hal_special.c
r125 r138 31 31 struct thread_s; 32 32 33 typedefstruct cpu_info {33 struct cpu_info { 34 34 void *ci_self; 35 uint64_t apic_fake_status; 35 36 uint32_t ci_gid; 36 37 uint32_t ci_lid; 37 38 struct thread_s *ci_thr; 38 } cpu_info_t; 39 } __packed; 40 typedef struct cpu_info cpu_info_t; 39 41 40 42 cpu_info_t cpu0 __in_kdata; … … 104 106 { 105 107 curcpu()->ci_thr = thread; 108 } 109 110 uint8_t hal_get_apic_fake_status() 111 { 112 return curcpu()->apic_fake_status; 106 113 } 107 114
Note: See TracChangeset
for help on using the changeset viewer.