From b397fbbbf952ce05c4552d5f2aabeac74aec8aad Mon Sep 17 00:00:00 2001 From: AJFISH Date: Thu, 26 Jul 2007 21:33:37 +0000 Subject: 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 --- Nt32Pkg/WinNtBusDriverDxe/WinNtBusDriver.c | 5 +---- Nt32Pkg/WinNtBusDriverDxe/WinNtBusDriverDxe.inf | 3 --- 2 files changed, 1 insertion(+), 7 deletions(-) (limited to 'Nt32Pkg/WinNtBusDriverDxe') diff --git a/Nt32Pkg/WinNtBusDriverDxe/WinNtBusDriver.c b/Nt32Pkg/WinNtBusDriverDxe/WinNtBusDriver.c index 999fb0cc5d..edcd9eb96d 100644 --- a/Nt32Pkg/WinNtBusDriverDxe/WinNtBusDriver.c +++ b/Nt32Pkg/WinNtBusDriverDxe/WinNtBusDriver.c @@ -150,10 +150,7 @@ static NT_PCD_ENTRY mPcdEnvironment[] = { PcdToken(PcdWinNtSerialPort), &gEfiWinNtSerialPortGuid, PcdToken(PcdWinNtFileSystem), &gEfiWinNtFileSystemGuid, PcdToken(PcdWinNtVirtualDisk), &gEfiWinNtVirtualDisksGuid, - PcdToken(PcdWinNtPhysicalDisk), &gEfiWinNtPhysicalDisksGuid, - PcdToken(PcdWinNtCpuModel), &gEfiWinNtCPUModelGuid, - PcdToken(PcdWinNtCpuSpeed), &gEfiWinNtCPUSpeedGuid, - PcdToken(PcdWinNtMemorySize), &gEfiWinNtMemoryGuid + PcdToken(PcdWinNtPhysicalDisk), &gEfiWinNtPhysicalDisksGuid }; /** diff --git a/Nt32Pkg/WinNtBusDriverDxe/WinNtBusDriverDxe.inf b/Nt32Pkg/WinNtBusDriverDxe/WinNtBusDriverDxe.inf index 50aca77beb..8c94849827 100644 --- a/Nt32Pkg/WinNtBusDriverDxe/WinNtBusDriverDxe.inf +++ b/Nt32Pkg/WinNtBusDriverDxe/WinNtBusDriverDxe.inf @@ -60,9 +60,6 @@ [Guids] - gEfiWinNtCPUSpeedGuid # ALWAYS_CONSUMED - gEfiWinNtCPUModelGuid # ALWAYS_CONSUMED - gEfiWinNtMemoryGuid # ALWAYS_CONSUMED gEfiWinNtConsoleGuid # ALWAYS_CONSUMED gEfiWinNtGopGuid # ALWAYS_CONSUMED gEfiWinNtSerialPortGuid # ALWAYS_CONSUMED -- cgit v1.2.3