diff options
author | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-08-13 04:53:33 +0000 |
---|---|---|
committer | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-08-13 04:53:33 +0000 |
commit | d8bee43ce44db3012de2274b135ede6d06106f7d (patch) | |
tree | defd41eb85e0467fd8a02214e67f97263cc3e628 /DuetPkg/PciRootBridgeNoEnumerationDxe | |
parent | f4168df83fe4915517d61021248b37c3ccf150f3 (diff) | |
download | edk2-platforms-d8bee43ce44db3012de2274b135ede6d06106f7d.tar.xz |
Fix build issue in linux environment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5636 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/PciRootBridgeNoEnumerationDxe')
-rw-r--r-- | DuetPkg/PciRootBridgeNoEnumerationDxe/Ia32/PcatIo.c | 2 | ||||
-rw-r--r-- | DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/DuetPkg/PciRootBridgeNoEnumerationDxe/Ia32/PcatIo.c b/DuetPkg/PciRootBridgeNoEnumerationDxe/Ia32/PcatIo.c index 0cbf047254..d697390fa9 100644 --- a/DuetPkg/PciRootBridgeNoEnumerationDxe/Ia32/PcatIo.c +++ b/DuetPkg/PciRootBridgeNoEnumerationDxe/Ia32/PcatIo.c @@ -479,7 +479,7 @@ CheckForRom ( Status = gBS->AllocatePool(
EfiBootServicesData,
((UINT32)mPciOptionRomTable.PciOptionRomCount + 1) * sizeof(EFI_PCI_OPTION_ROM_DESCRIPTOR),
- &TempPciOptionRomDescriptors
+ (VOID*)&TempPciOptionRomDescriptors
);
if (mPciOptionRomTable.PciOptionRomCount > 0) {
CopyMem(
diff --git a/DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf b/DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf index fa0596db13..56bf10f624 100644 --- a/DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf +++ b/DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf @@ -52,13 +52,13 @@ DeviceIo.c
[Sources.ia32]
- ia32\PcatIo.c
+ Ia32/PcatIo.c
[Sources.x64]
- x64\PcatIo.c
+ x64/PcatIo.c
[Sources.ipf]
- Ipf\PcatIo.c
+ Ipf/PcatIo.c
[Protocols]
gEfiPciRootBridgeIoProtocolGuid
|