From 8e106bffd631c8bae10efe153f893d80ad0be2df Mon Sep 17 00:00:00 2001 From: Joshua Wise Date: Sat, 20 Sep 2008 23:53:35 -0400 Subject: [PATCH 1/1] fix get_PMBASE bug --- ich2/smi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ich2/smi.c b/ich2/smi.c index e790e40..3666a6c 100644 --- a/ich2/smi.c +++ b/ich2/smi.c @@ -5,7 +5,7 @@ uint16_t _get_PMBASE() { - return pci_read32(0, 21, 0, 0x40) & 0xFF80; + return pci_read32(0, 31, 0, 0x40) & 0xFF80; } void smi_disable() -- 2.43.0