Iru Cai has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/58558 )
Change subject: arch/x86: fix commit 04a40379b ......................................................................
arch/x86: fix commit 04a40379b
This commit has a wrongly written variable, which can make Linux kernel unable to boot.
Change-Id: Ifda7bb61a431dbf9c2df2f738aa806dd6d8097b8 Signed-off-by: Iru Cai mytbk920423@gmail.com --- M src/arch/x86/ioapic.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/58/58558/1
diff --git a/src/arch/x86/ioapic.c b/src/arch/x86/ioapic.c index d299e60..d65637c 100644 --- a/src/arch/x86/ioapic.c +++ b/src/arch/x86/ioapic.c @@ -59,7 +59,7 @@ count = mre_count - 1; reg &= ~(0xff << 16); reg |= count << 16; - io_apic_write(ioapic_base, 0x01, count); + io_apic_write(ioapic_base, 0x01, reg); }
void ioapic_lock_max_vectors(void *ioapic_base)