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
This commit is contained in:
@@ -24,7 +24,7 @@
|
|||||||
//
|
//
|
||||||
// PIIX4 Power Management Base Address
|
// PIIX4 Power Management Base Address
|
||||||
//
|
//
|
||||||
UINT32 mPmba = 0x401;
|
UINT32 mPmba = 0x400;
|
||||||
|
|
||||||
#define PCI_BAR_IO 0x1
|
#define PCI_BAR_IO 0x1
|
||||||
#define ACPI_TIMER_FREQUENCY 3579545
|
#define ACPI_TIMER_FREQUENCY 3579545
|
||||||
|
Reference in New Issue
Block a user