summaryrefslogtreecommitdiff
path: root/Nt32Pkg/PlatformBdsDxe
diff options
context:
space:
mode:
authorAJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524>2007-07-26 21:33:37 +0000
committerAJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524>2007-07-26 21:33:37 +0000
commitb397fbbbf952ce05c4552d5f2aabeac74aec8aad (patch)
tree55057e3936adb9c6b001f7a39ef9c126df953da3 /Nt32Pkg/PlatformBdsDxe
parent0963b13df50273487a38784a64f7003e95981dea (diff)
downloadedk2-platforms-b397fbbbf952ce05c4552d5f2aabeac74aec8aad.tar.xz
removed gEfiWinNtCPUSpeedGuid, gEfiWinNtCPUModelGuid, and gEfiWinNtMemoryGuid. Replaced them with the PCD values they represent. There was no need to use the driver model, when you could get PCD value directly. Also removed local copies of Atoi() in several modules. Fixed bug in reporting of memory size.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3458 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Nt32Pkg/PlatformBdsDxe')
-rw-r--r--Nt32Pkg/PlatformBdsDxe/PlatformData.c62
1 files changed, 1 insertions, 61 deletions
diff --git a/Nt32Pkg/PlatformBdsDxe/PlatformData.c b/Nt32Pkg/PlatformBdsDxe/PlatformData.c
index f11e0b1443..175c569f6c 100644
--- a/Nt32Pkg/PlatformBdsDxe/PlatformData.c
+++ b/Nt32Pkg/PlatformBdsDxe/PlatformData.c
@@ -186,62 +186,6 @@ NT_ISA_SERIAL_DEVICE_PATH gNtSerialDevicePath1 = {
gEndEntire
};
-NT_PLATFORM_CPU_MODEL_VIRTUAL_DEVICE_PATH gCpuModelDevicePath = {
- {
- HARDWARE_DEVICE_PATH,
- HW_VENDOR_DP,
- (UINT8) (sizeof (VENDOR_DEVICE_PATH)),
- (UINT8) ((sizeof (VENDOR_DEVICE_PATH)) >> 8),
- EFI_WIN_NT_THUNK_PROTOCOL_GUID
- },
- {
- HARDWARE_DEVICE_PATH,
- HW_VENDOR_DP,
- (UINT8) (sizeof (WIN_NT_VENDOR_DEVICE_PATH_NODE)),
- (UINT8) ((sizeof (WIN_NT_VENDOR_DEVICE_PATH_NODE)) >> 8),
- EFI_WIN_NT_CPU_MODEL_GUID,
- 0
- },
- gEndEntire
-};
-
-NT_PLATFORM_CPU_SPEED_VIRTUAL_DEVICE_PATH gCpuSpeedDevicePath = {
- {
- HARDWARE_DEVICE_PATH,
- HW_VENDOR_DP,
- (UINT8) (sizeof (VENDOR_DEVICE_PATH)),
- (UINT8) ((sizeof (VENDOR_DEVICE_PATH)) >> 8),
- EFI_WIN_NT_THUNK_PROTOCOL_GUID
- },
- {
- HARDWARE_DEVICE_PATH,
- HW_VENDOR_DP,
- (UINT8) (sizeof (WIN_NT_VENDOR_DEVICE_PATH_NODE)),
- (UINT8) ((sizeof (WIN_NT_VENDOR_DEVICE_PATH_NODE)) >> 8),
- EFI_WIN_NT_CPU_SPEED_GUID,
- 0
- },
- gEndEntire
-};
-
-NT_PLATFORM_MEMORY_VIRTUAL_DEVICE_PATH gMemoryDevicePath = {
- {
- HARDWARE_DEVICE_PATH,
- HW_VENDOR_DP,
- (UINT8) (sizeof (VENDOR_DEVICE_PATH)),
- (UINT8) ((sizeof (VENDOR_DEVICE_PATH)) >> 8),
- EFI_WIN_NT_THUNK_PROTOCOL_GUID
- },
- {
- HARDWARE_DEVICE_PATH,
- HW_VENDOR_DP,
- (UINT8) (sizeof (WIN_NT_VENDOR_DEVICE_PATH_NODE)),
- (UINT8) ((sizeof (WIN_NT_VENDOR_DEVICE_PATH_NODE)) >> 8),
- EFI_WIN_NT_MEMORY_GUID,
- 0
- },
- gEndEntire
-};
//
// Predefined platform default console device path
@@ -285,8 +229,4 @@ EFI_DEVICE_PATH_PROTOCOL *gPlatformDriverOption[] = { NULL };
//
// Predefined platform connect sequence
//
-EFI_DEVICE_PATH_PROTOCOL *gPlatformConnectSequence[] = {
- (EFI_DEVICE_PATH_PROTOCOL *) &gCpuModelDevicePath,
- (EFI_DEVICE_PATH_PROTOCOL *) &gCpuSpeedDevicePath,
- (EFI_DEVICE_PATH_PROTOCOL *) &gMemoryDevicePath
- };
+EFI_DEVICE_PATH_PROTOCOL *gPlatformConnectSequence[] = { NULL };