diff options
| author | Ian Moffett <ian@osmora.org> | 2025-11-17 14:40:12 -0500 |
|---|---|---|
| committer | Ian Moffett <ian@osmora.org> | 2025-11-17 14:40:12 -0500 |
| commit | 2998842b39d42faa6d26cb592ee2f5203c41516e (patch) | |
| tree | f7f03481bf21a9d30e48a23bed7c45107c601408 /sys | |
| parent | 0617942c33380ce30bf159a66d8733a2c22cb30d (diff) | |
kern/amd64: lapic: Fix SVR low byte to logical 1s
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/arch/amd64/cpu/lapic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arch/amd64/cpu/lapic.c b/sys/arch/amd64/cpu/lapic.c index 532c0e7..7f1c9f2 100644 --- a/sys/arch/amd64/cpu/lapic.c +++ b/sys/arch/amd64/cpu/lapic.c @@ -334,7 +334,7 @@ lapic_enable(struct mcb *mcb) /* Software enable the Local APIC unit */ svr = lapic_read(mcb, LAPIC_REG_SVR); svr |= LAPIC_SVR_APIC_EN; - lapic_write(mcb, LAPIC_REG_SVR, svr); + lapic_write(mcb, LAPIC_REG_SVR, svr | 0xFF); } void |
