diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-08-13 15:41:31 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-08-13 15:41:31 +0000 |
commit | a5595b1e0eee3d541f17c054ae3af83f11c17465 (patch) | |
tree | 871c04f84eeb0d2641a2d65d7b8abd71056b8648 /OvmfPkg/Library/PlatformBdsLib | |
parent | 9388fd3d3a51578e68d34d5cfde4f1662ef86da8 (diff) | |
download | edk2-a5595b1e0eee3d541f17c054ae3af83f11c17465.zip edk2-a5595b1e0eee3d541f17c054ae3af83f11c17465.tar.gz edk2-a5595b1e0eee3d541f17c054ae3af83f11c17465.tar.bz2 |
OvmfPkg: PlatformBdsLib: the balloon device (RAM Memory) is in slot 5
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13626 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg/Library/PlatformBdsLib')
-rw-r--r-- | OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c b/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c index c960c6c..738fdce 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);
}
|