Copyright (c) 2006, Intel Corporation<BR>\r
All rights reserved. This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
Copyright (c) 2006, Intel Corporation<BR>\r
All rights reserved. This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
- Status = mPciRootBridgeIo->Io.Read (mPciRootBridgeIo, Width, Port, 1, &Data);\r
+ Status = mPciRootBridgeIo->Io.Read (mPciRootBridgeIo, (EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH) Width, Port, 1, &Data);\r
} else {\r
Status = mCpuIo->Io.Read (mCpuIo, Width, Port, 1, &Data);\r
}\r
} else {\r
Status = mCpuIo->Io.Read (mCpuIo, Width, Port, 1, &Data);\r
}\r
- Status = mPciRootBridgeIo->Io.Write (mPciRootBridgeIo, Width, Port, 1, &Data);\r
+ Status = mPciRootBridgeIo->Io.Write (mPciRootBridgeIo, (EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH) Width, Port, 1, &Data);\r
} else {\r
Status = mCpuIo->Io.Write (mCpuIo, Width, Port, 1, &Data);\r
}\r
} else {\r
Status = mCpuIo->Io.Write (mCpuIo, Width, Port, 1, &Data);\r
}\r
- Status = mPciRootBridgeIo->Mem.Read (mPciRootBridgeIo, Width, Address, 1, &Data);\r
+ Status = mPciRootBridgeIo->Mem.Read (mPciRootBridgeIo, (EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH) Width, Address, 1, &Data);\r
} else {\r
Status = mCpuIo->Mem.Read (mCpuIo, Width, Address, 1, &Data);\r
}\r
} else {\r
Status = mCpuIo->Mem.Read (mCpuIo, Width, Address, 1, &Data);\r
}\r
@param Address The MMIO register to read.\r
The caller is responsible for aligning the Address if required.\r
@param Width The width of the I/O operation.\r
@param Address The MMIO register to read.\r
The caller is responsible for aligning the Address if required.\r
@param Width The width of the I/O operation.\r
- Status = mPciRootBridgeIo->Mem.Write (mPciRootBridgeIo, Width, Address, 1, &Data);\r
+ Status = mPciRootBridgeIo->Mem.Write (mPciRootBridgeIo, (EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH) Width, Address, 1, &Data);\r
} else {\r
Status = mCpuIo->Mem.Write (mCpuIo, Width, Address, 1, &Data);\r
}\r
} else {\r
Status = mCpuIo->Mem.Write (mCpuIo, Width, Address, 1, &Data);\r
}\r