]> git.proxmox.com Git - mirror_edk2.git/commitdiff
OvmfPkg/PlatformPei: Set PM base address OVMF
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 13 Jan 2011 05:46:24 +0000 (05:46 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 13 Jan 2011 05:46:24 +0000 (05:46 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11250 6f19259b-4bc3-4df7-8a09-765794883524

OvmfPkg/PlatformPei/Platform.c
OvmfPkg/PlatformPei/PlatformPei.inf

index c379f88b4d6cd17f42a6192a7f63439ca0aac0f1..833f62adffbe6ed2698fda14cedd772b6e7d9383 100644 (file)
@@ -166,6 +166,11 @@ MiscInitialization (
   // Build the CPU hob with 36-bit addressing and 16-bits of IO space.\r
   //\r
   BuildCpuHob (36, 16);\r
+\r
+  //\r
+  // Set the PM I/O base address to 0x400\r
+  //\r
+  PciAndThenOr32 (PCI_LIB_ADDRESS (0, 1, 3, 0x40), (UINT32) ~0xfc0, 0x400);\r
 }\r
 \r
 \r
index d9f905242fb2ff7260613379e749e1f9ba1e1b58..3f0a19439e3de7edff5018095f1cec84b92aaadd 100644 (file)
@@ -46,6 +46,7 @@
   DebugLib\r
   HobLib\r
   IoLib\r
+  PciLib\r
   PeiResourcePublicationLib\r
   PeiServicesTablePointerLib\r
   PeimEntryPoint\r