]> git.proxmox.com Git - mirror_edk2.git/commitdiff
OvmfPkg AcpiTimerLib: Fix issue with I/O address initialization
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 11 Aug 2011 23:20:23 +0000 (23:20 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 11 Aug 2011 23:20:23 +0000 (23:20 +0000)
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

index 6c5cccc27305104d01508c1ac91d19ceb121c494..7a6745caf0c5d4de584f32ab3dae8da98f1fb7af 100644 (file)
@@ -24,7 +24,7 @@
 //\r
 // PIIX4 Power Management Base Address\r
 //\r
-UINT32 mPmba = 0x401;\r
+UINT32 mPmba = 0x400;\r
 \r
 #define PCI_BAR_IO             0x1\r
 #define ACPI_TIMER_FREQUENCY   3579545\r