From 1c2ae02e764e7d8b2b2ed00fb01e093aa33f6331 Mon Sep 17 00:00:00 2001 From: jljusten Date: Thu, 11 Aug 2011 23:20:23 +0000 Subject: 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 --- OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OvmfPkg') diff --git a/OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.c b/OvmfPkg/Library/AcpiTimerLib/AcpiTimerLib.c index 6c5cccc27..7a6745caf 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 -- cgit v1.2.3