diff options
author | Ian Moffett <ian@osmora.org> | 2024-06-05 20:58:51 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-06-05 20:58:51 -0400 |
commit | dbfcd0e88e471564392549652d0bde2a967c34f4 (patch) | |
tree | 4599273f7e3a36f8733293728e39b11710e6e5b2 /sys/include/arch/amd64/cpu.h | |
parent | 433d6e282c9f1455fef07333807424f4bd07878e (diff) |
kernel/amd64: Add initial LAPIC code
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/arch/amd64/cpu.h')
-rw-r--r-- | sys/include/arch/amd64/cpu.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/include/arch/amd64/cpu.h b/sys/include/arch/amd64/cpu.h index efa60ad..4e5baf1 100644 --- a/sys/include/arch/amd64/cpu.h +++ b/sys/include/arch/amd64/cpu.h @@ -35,9 +35,10 @@ struct cpu_info { uint32_t apicid; + uint8_t has_x2apic : 1; }; void cpu_startup(void); - +struct cpu_info *this_cpu(void); #endif /* !_MACHINE_CPU_H_ */ |