PcAtChipsetPkg/PciHostBridgeDxe: fix typo in "aperture"

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Acked-by: Olivier Martin <Olivier.martin@arm.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16891 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Laszlo Ersek 2015-02-23 16:02:34 +00:00 committed by lersek
parent 84a75f70e9
commit 0b7c6cd401
3 changed files with 15 additions and 15 deletions

View File

@ -18,7 +18,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
// Hard code: Root Bridge Number within the host bridge // Hard code: Root Bridge Number within the host bridge
// Root Bridge's attribute // Root Bridge's attribute
// Root Bridge's device path // Root Bridge's device path
// Root Bridge's resource appeture // Root Bridge's resource aperture
// //
UINTN RootBridgeNumber[1] = { 1 }; UINTN RootBridgeNumber[1] = { 1 };
@ -52,7 +52,7 @@ EFI_PCI_ROOT_BRIDGE_DEVICE_PATH mEfiPciRootBridgeDevicePath[1][1] = {
} }
}; };
PCI_ROOT_BRIDGE_RESOURCE_APPETURE mResAppeture[1][1] = { PCI_ROOT_BRIDGE_RESOURCE_APERTURE mResAperture[1][1] = {
{{0, 0xff, 0x80000000, 0xffffffff, 0, 0xffff}} {{0, 0xff, 0x80000000, 0xffffffff, 0, 0xffff}}
}; };
@ -145,7 +145,7 @@ InitializePciHostBridge (
&PrivateData->Io, &PrivateData->Io,
HostBridge->HostBridgeHandle, HostBridge->HostBridgeHandle,
RootBridgeAttribute[Loop1][Loop2], RootBridgeAttribute[Loop1][Loop2],
&mResAppeture[Loop1][Loop2] &mResAperture[Loop1][Loop2]
); );
Status = gBS->InstallMultipleProtocolInterfaces( Status = gBS->InstallMultipleProtocolInterfaces(

View File

@ -403,7 +403,7 @@ typedef struct {
UINT64 IoBase; UINT64 IoBase;
UINT64 IoLimit; UINT64 IoLimit;
} PCI_ROOT_BRIDGE_RESOURCE_APPETURE; } PCI_ROOT_BRIDGE_RESOURCE_APERTURE;
typedef enum { typedef enum {
TypeIo = 0, TypeIo = 0,
@ -482,7 +482,7 @@ typedef struct {
@param Protocol Point to protocol instance @param Protocol Point to protocol instance
@param HostBridgeHandle Handle of host bridge @param HostBridgeHandle Handle of host bridge
@param Attri Attribute of host bridge @param Attri Attribute of host bridge
@param ResAppeture ResourceAppeture for host bridge @param ResAperture ResourceAperture for host bridge
@retval EFI_SUCCESS Success to initialize the Pci Root Bridge. @retval EFI_SUCCESS Success to initialize the Pci Root Bridge.
@ -492,7 +492,7 @@ RootBridgeConstructor (
IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *Protocol, IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *Protocol,
IN EFI_HANDLE HostBridgeHandle, IN EFI_HANDLE HostBridgeHandle,
IN UINT64 Attri, IN UINT64 Attri,
IN PCI_ROOT_BRIDGE_RESOURCE_APPETURE *ResAppeture IN PCI_ROOT_BRIDGE_RESOURCE_APERTURE *ResAperture
); );
#endif #endif

View File

@ -621,7 +621,7 @@ UINT8 mOutStride[] = {
@param Protocol Point to protocol instance @param Protocol Point to protocol instance
@param HostBridgeHandle Handle of host bridge @param HostBridgeHandle Handle of host bridge
@param Attri Attribute of host bridge @param Attri Attribute of host bridge
@param ResAppeture ResourceAppeture for host bridge @param ResAperture ResourceAperture for host bridge
@retval EFI_SUCCESS Success to initialize the Pci Root Bridge. @retval EFI_SUCCESS Success to initialize the Pci Root Bridge.
@ -631,7 +631,7 @@ RootBridgeConstructor (
IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *Protocol, IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *Protocol,
IN EFI_HANDLE HostBridgeHandle, IN EFI_HANDLE HostBridgeHandle,
IN UINT64 Attri, IN UINT64 Attri,
IN PCI_ROOT_BRIDGE_RESOURCE_APPETURE *ResAppeture IN PCI_ROOT_BRIDGE_RESOURCE_APERTURE *ResAperture
) )
{ {
EFI_STATUS Status; EFI_STATUS Status;
@ -644,21 +644,21 @@ RootBridgeConstructor (
// The host to pci bridge, the host memory and io addresses are // The host to pci bridge, the host memory and io addresses are
// direct mapped to pci addresses, so no need translate, set bases to 0. // direct mapped to pci addresses, so no need translate, set bases to 0.
// //
PrivateData->MemBase = ResAppeture->MemBase; PrivateData->MemBase = ResAperture->MemBase;
PrivateData->IoBase = ResAppeture->IoBase; PrivateData->IoBase = ResAperture->IoBase;
// //
// The host bridge only supports 32bit addressing for memory // The host bridge only supports 32bit addressing for memory
// and standard IA32 16bit io // and standard IA32 16bit io
// //
PrivateData->MemLimit = ResAppeture->MemLimit; PrivateData->MemLimit = ResAperture->MemLimit;
PrivateData->IoLimit = ResAppeture->IoLimit; PrivateData->IoLimit = ResAperture->IoLimit;
// //
// Bus Appeture for this Root Bridge (Possible Range) // Bus Aperture for this Root Bridge (Possible Range)
// //
PrivateData->BusBase = ResAppeture->BusBase; PrivateData->BusBase = ResAperture->BusBase;
PrivateData->BusLimit = ResAppeture->BusLimit; PrivateData->BusLimit = ResAperture->BusLimit;
// //
// Specific for this chipset // Specific for this chipset