mirror of https://github.com/acidanthera/audk.git
OvmfPkg: have PlatformBdsLib::PciInitialization conform to the _PRS
Also set some INTLN values, informatively. 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@13627 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
a5595b1e0e
commit
05c89c7f0c
|
@ -723,10 +723,10 @@ PciInitialization (
|
|||
// Bus 0, Device 1, Function 0 - PCI to ISA Bridge
|
||||
//
|
||||
PciWrite8 (PCI_LIB_ADDRESS (0, 1, 0, 0x3c), 0x00);
|
||||
PciWrite8 (PCI_LIB_ADDRESS (0, 1, 0, 0x60), 0x0b);
|
||||
PciWrite8 (PCI_LIB_ADDRESS (0, 1, 0, 0x61), 0x09);
|
||||
PciWrite8 (PCI_LIB_ADDRESS (0, 1, 0, 0x62), 0x0b);
|
||||
PciWrite8 (PCI_LIB_ADDRESS (0, 1, 0, 0x63), 0x09);
|
||||
PciWrite8 (PCI_LIB_ADDRESS (0, 1, 0, 0x60), 0x0b); // LNKA routing target
|
||||
PciWrite8 (PCI_LIB_ADDRESS (0, 1, 0, 0x61), 0x0b); // LNKB routing target
|
||||
PciWrite8 (PCI_LIB_ADDRESS (0, 1, 0, 0x62), 0x0a); // LNKC routing target
|
||||
PciWrite8 (PCI_LIB_ADDRESS (0, 1, 0, 0x63), 0x0a); // LNKD routing target
|
||||
|
||||
//
|
||||
// Bus 0, Device 1, Function 1 - IDE Controller
|
||||
|
@ -737,8 +737,8 @@ PciInitialization (
|
|||
//
|
||||
// Bus 0, Device 1, Function 3 - Power Managment Controller
|
||||
//
|
||||
PciWrite8 (PCI_LIB_ADDRESS (0, 1, 3, 0x3c), 0x0b);
|
||||
PciWrite8 (PCI_LIB_ADDRESS (0, 1, 3, 0x3d), 0x01);
|
||||
PciWrite8 (PCI_LIB_ADDRESS (0, 1, 3, 0x3c), 0x09);
|
||||
PciWrite8 (PCI_LIB_ADDRESS (0, 1, 3, 0x3d), 0x01); // INTA
|
||||
|
||||
//
|
||||
// Bus 0, Device 2, Function 0 - Video Controller
|
||||
|
@ -748,14 +748,14 @@ PciInitialization (
|
|||
//
|
||||
// Bus 0, Device 3, Function 0 - Network Controller
|
||||
//
|
||||
PciWrite8 (PCI_LIB_ADDRESS (0, 3, 0, 0x3c), 0x0b);
|
||||
PciWrite8 (PCI_LIB_ADDRESS (0, 3, 0, 0x3d), 0x01);
|
||||
PciWrite8 (PCI_LIB_ADDRESS (0, 3, 0, 0x3c), 0x0a);
|
||||
PciWrite8 (PCI_LIB_ADDRESS (0, 3, 0, 0x3d), 0x01); // INTA (-> LNKC)
|
||||
|
||||
//
|
||||
// Bus 0, Device 5, Function 0 - RAM Memory
|
||||
//
|
||||
PciWrite8 (PCI_LIB_ADDRESS (0, 5, 0, 0x3c), 0x09);
|
||||
PciWrite8 (PCI_LIB_ADDRESS (0, 5, 0, 0x3d), 0x01);
|
||||
PciWrite8 (PCI_LIB_ADDRESS (0, 5, 0, 0x3c), 0x0b);
|
||||
PciWrite8 (PCI_LIB_ADDRESS (0, 5, 0, 0x3d), 0x01); // INTA (-> LNKA)
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue