summaryrefslogtreecommitdiff
path: root/src/sys/include/arch/amd64/mdcpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/include/arch/amd64/mdcpu.h')
-rw-r--r--src/sys/include/arch/amd64/mdcpu.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/sys/include/arch/amd64/mdcpu.h b/src/sys/include/arch/amd64/mdcpu.h
index c38aae2..0a39eb4 100644
--- a/src/sys/include/arch/amd64/mdcpu.h
+++ b/src/sys/include/arch/amd64/mdcpu.h
@@ -41,10 +41,17 @@
/*
* Represents the machine dependent information
* of a processor core on the machine.
+ *
+ * @apic_id: Local APIC ID
+ * @cr3: CR3 register value (PML<n> phys)
+ * @lapic_base: LAPIC register interface base
+ * @x2apic: Has the x2APIC? Is 1 if true
*/
struct mdcore {
uint32_t apic_id;
uint64_t cr3;
+ void *lapic_base;
+ uint8_t x2apic : 1;
};
#endif /* !_MACHINE_MDCPU_H_ */