Ignore:
Timestamp:
Jul 4, 2017, 12:05:39 PM (7 years ago)
Author:
max@…
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/x86_64/core/hal_special.c

    r125 r138  
    3131struct thread_s;
    3232
    33 typedef struct cpu_info {
     33struct cpu_info {
    3434        void *ci_self;
     35        uint64_t apic_fake_status;
    3536        uint32_t ci_gid;
    3637        uint32_t ci_lid;
    3738        struct thread_s *ci_thr;
    38 } cpu_info_t;
     39} __packed;
     40typedef struct cpu_info cpu_info_t;
    3941
    4042cpu_info_t cpu0 __in_kdata;
     
    104106{
    105107        curcpu()->ci_thr = thread;
     108}
     109
     110uint8_t hal_get_apic_fake_status()
     111{
     112        return curcpu()->apic_fake_status;
    106113}
    107114
Note: See TracChangeset for help on using the changeset viewer.