summaryrefslogtreecommitdiff
path: root/PcAtChipsetPkg/PciHostBridgeDxe
diff options
context:
space:
mode:
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2010-07-16 19:06:24 +0000
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2010-07-16 19:06:24 +0000
commitf5e004a3d0d9f9ccfef3ab8e5d4ff35baca43d63 (patch)
treead394f7b4deb837345605890cd974c0c5ece8a8f /PcAtChipsetPkg/PciHostBridgeDxe
parent991d956362649b3076fb9664c6a5eb4e842e4314 (diff)
downloadedk2-platforms-f5e004a3d0d9f9ccfef3ab8e5d4ff35baca43d63.tar.xz
Remove IO and MMIO GCD add operations from this generic PCI Hot Bridge drivers.
A platform specific PEIm or DXE module is required to add the IO and MMIO resources to the GCD. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10658 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'PcAtChipsetPkg/PciHostBridgeDxe')
-rw-r--r--PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridge.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridge.c b/PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridge.c
index dc8e79b11a..b05b415349 100644
--- a/PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridge.c
+++ b/PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridge.c
@@ -15,17 +15,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include "PciHostBridge.h"
//
-// Support 64 K IO space
-//
-#define RES_IO_BASE 0x1000
-#define RES_IO_LIMIT 0xFFFF
-//
-// Support 4G address space
-//
-#define RES_MEM_BASE_1 0xF8000000
-#define RES_MEM_LIMIT_1 (0xFEC00000 - 1)
-
-//
// Hard code: Root Bridge Number within the host bridge
// Root Bridge's attribute
// Root Bridge's device path
@@ -100,8 +89,6 @@ InitializePciHostBridge (
UINTN Loop2;
PCI_HOST_BRIDGE_INSTANCE *HostBridge;
PCI_ROOT_BRIDGE_INSTANCE *PrivateData;
- IN EFI_PHYSICAL_ADDRESS BaseAddress;
- IN UINT64 Length;
mDriverImageHandle = ImageHandle;
@@ -162,29 +149,6 @@ InitializePciHostBridge (
}
}
- Status = gDS->AddIoSpace (
- EfiGcdIoTypeIo,
- RES_IO_BASE,
- RES_IO_LIMIT - RES_IO_BASE + 1
- );
-
- // PCI memory space from 3.75Gbytes->(4GBytes - BIOSFWH local APIC etc)
- Status = gDS->AddMemorySpace (
- EfiGcdMemoryTypeMemoryMappedIo,
- RES_MEM_BASE_1,
- (RES_MEM_LIMIT_1 - RES_MEM_BASE_1 + 1),
- 0
- );
-
- BaseAddress = 0x80000000;
- Length = RES_MEM_BASE_1 - BaseAddress;
- Status = gDS->AddMemorySpace (
- EfiGcdMemoryTypeMemoryMappedIo,
- BaseAddress,
- Length,
- 0
- );
-
return EFI_SUCCESS;
}