// Hard code: Root Bridge Number within the host bridge\r
// Root Bridge's attribute\r
// Root Bridge's device path\r
-// Root Bridge's resource appeture\r
+// Root Bridge's resource aperture\r
//\r
UINTN RootBridgeNumber[1] = { 1 };\r
\r
}\r
};\r
\r
-PCI_ROOT_BRIDGE_RESOURCE_APPETURE mResAppeture[1][1] = {\r
+PCI_ROOT_BRIDGE_RESOURCE_APERTURE mResAperture[1][1] = {\r
{{0, 0xff, 0x80000000, 0xffffffff, 0, 0xffff}}\r
};\r
\r
&PrivateData->Io, \r
HostBridge->HostBridgeHandle, \r
RootBridgeAttribute[Loop1][Loop2], \r
- &mResAppeture[Loop1][Loop2]\r
+ &mResAperture[Loop1][Loop2]\r
);\r
\r
Status = gBS->InstallMultipleProtocolInterfaces(\r
\r
UINT64 IoBase; \r
UINT64 IoLimit; \r
-} PCI_ROOT_BRIDGE_RESOURCE_APPETURE;\r
+} PCI_ROOT_BRIDGE_RESOURCE_APERTURE;\r
\r
typedef enum {\r
TypeIo = 0,\r
@param Protocol Point to protocol instance\r
@param HostBridgeHandle Handle of host bridge\r
@param Attri Attribute of host bridge\r
- @param ResAppeture ResourceAppeture for host bridge\r
+ @param ResAperture ResourceAperture for host bridge\r
\r
@retval EFI_SUCCESS Success to initialize the Pci Root Bridge.\r
\r
IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *Protocol,\r
IN EFI_HANDLE HostBridgeHandle,\r
IN UINT64 Attri,\r
- IN PCI_ROOT_BRIDGE_RESOURCE_APPETURE *ResAppeture\r
+ IN PCI_ROOT_BRIDGE_RESOURCE_APERTURE *ResAperture\r
);\r
\r
#endif\r
@param Protocol Point to protocol instance\r
@param HostBridgeHandle Handle of host bridge\r
@param Attri Attribute of host bridge\r
- @param ResAppeture ResourceAppeture for host bridge\r
+ @param ResAperture ResourceAperture for host bridge\r
\r
@retval EFI_SUCCESS Success to initialize the Pci Root Bridge.\r
\r
IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *Protocol,\r
IN EFI_HANDLE HostBridgeHandle,\r
IN UINT64 Attri,\r
- IN PCI_ROOT_BRIDGE_RESOURCE_APPETURE *ResAppeture\r
+ IN PCI_ROOT_BRIDGE_RESOURCE_APERTURE *ResAperture\r
)\r
{\r
EFI_STATUS Status;\r
// The host to pci bridge, the host memory and io addresses are\r
// direct mapped to pci addresses, so no need translate, set bases to 0.\r
//\r
- PrivateData->MemBase = ResAppeture->MemBase;\r
- PrivateData->IoBase = ResAppeture->IoBase;\r
+ PrivateData->MemBase = ResAperture->MemBase;\r
+ PrivateData->IoBase = ResAperture->IoBase;\r
\r
//\r
// The host bridge only supports 32bit addressing for memory\r
// and standard IA32 16bit io\r
//\r
- PrivateData->MemLimit = ResAppeture->MemLimit;\r
- PrivateData->IoLimit = ResAppeture->IoLimit;\r
+ PrivateData->MemLimit = ResAperture->MemLimit;\r
+ PrivateData->IoLimit = ResAperture->IoLimit;\r
\r
//\r
- // Bus Appeture for this Root Bridge (Possible Range)\r
+ // Bus Aperture for this Root Bridge (Possible Range)\r
//\r
- PrivateData->BusBase = ResAppeture->BusBase;\r
- PrivateData->BusLimit = ResAppeture->BusLimit;\r
+ PrivateData->BusBase = ResAperture->BusBase;\r
+ PrivateData->BusLimit = ResAperture->BusLimit;\r
\r
//\r
// Specific for this chipset\r