From a5595b1e0eee3d541f17c054ae3af83f11c17465 Mon Sep 17 00:00:00 2001 From: jljusten Date: Mon, 13 Aug 2012 15:41:31 +0000 Subject: OvmfPkg: PlatformBdsLib: the balloon device (RAM Memory) is in slot 5 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek Reviewed-by: Jordan Justen git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13626 6f19259b-4bc3-4df7-8a09-765794883524 --- OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c b/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c index c960c6cdbf..738fdce9a1 100644 --- a/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c +++ b/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c @@ -752,10 +752,10 @@ PciInitialization ( PciWrite8 (PCI_LIB_ADDRESS (0, 3, 0, 0x3d), 0x01); // - // Bus 0, Device 4, Function 0 - RAM Memory + // Bus 0, Device 5, Function 0 - RAM Memory // - PciWrite8 (PCI_LIB_ADDRESS (0, 4, 0, 0x3c), 0x09); - PciWrite8 (PCI_LIB_ADDRESS (0, 4, 0, 0x3d), 0x01); + PciWrite8 (PCI_LIB_ADDRESS (0, 5, 0, 0x3c), 0x09); + PciWrite8 (PCI_LIB_ADDRESS (0, 5, 0, 0x3d), 0x01); } -- cgit v1.2.3