diff options
author | sigsegv7 <ian@vegaa.systems> | 2023-10-18 18:22:08 -0400 |
---|---|---|
committer | sigsegv7 <ian@vegaa.systems> | 2023-10-18 18:22:08 -0400 |
commit | d42c2061e1b8abb7ddaf628b6016e7a1ad8eedb0 (patch) | |
tree | dd4839d088cb124cb9d8b082b38fcab3acbf9481 /sys/include/arch | |
parent | 8775a43cf5267abba09195caf0031960d6cb2434 (diff) |
kernel/amd64: lapic: Update docs
Signed-off-by: sigsegv7 <ian@vegaa.systems>
Diffstat (limited to 'sys/include/arch')
-rw-r--r-- | sys/include/arch/amd64/lapicvar.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/include/arch/amd64/lapicvar.h b/sys/include/arch/amd64/lapicvar.h index 67cb277..6c2c37f 100644 --- a/sys/include/arch/amd64/lapicvar.h +++ b/sys/include/arch/amd64/lapicvar.h @@ -79,7 +79,13 @@ #define LAPIC_SW_ENABLE (__BIT(8) | 0xFF) #define x2APIC_ENABLE_SHIFT 10 -/* The initial logical APIC ID to be set */ +/* + * The initial logical APIC ID to be set + * + * XXX: This value does *not* apply to processors + * that support x2APIC mode. In x2APIC mode + * the LDR register is readonly to system software. + */ #define LAPIC_STARTUP_LID 0x1 /* LVT bits */ |