summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2011-08-11 23:20:23 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2011-08-11 23:20:23 +0000
commit1c2ae02e764e7d8b2b2ed00fb01e093aa33f6331 (patch)
tree0c27629be18c764052cc5543546c2a33a24335b6
parent1fc930834bc7fe1b2cba41b5dc5be7e1716b3840 (diff)
downloadedk2-platforms-1c2ae02e764e7d8b2b2ed00fb01e093aa33f6331.tar.xz
OvmfPkg AcpiTimerLib: Fix issue with I/O address initialization
For the first instance of the library that runs, the base is initialized to 0x400, but we access it at 0x401. Signed-off-by: jljusten Reviewed-by: niruiyu git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12121 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.c b/OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.c
index 6c5cccc273..7a6745caf0 100644
--- a/OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.c
+++ b/OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.c
@@ -24,7 +24,7 @@
//
// PIIX4 Power Management Base Address
//
-UINT32 mPmba = 0x401;
+UINT32 mPmba = 0x400;
#define PCI_BAR_IO 0x1
#define ACPI_TIMER_FREQUENCY 3579545