From 60f3d321cedf231434ba5bea70ac5cc634776363 Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Tue, 10 Nov 2009 13:58:41 +0000 Subject: [PATCH] Update Nt32 package to remove UID support . git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9403 6f19259b-4bc3-4df7-8a09-765794883524 --- Nt32Pkg/Library/Nt32BdsLib/BdsPlatform.c | 65 ----------------------- Nt32Pkg/Library/Nt32BdsLib/BdsPlatform.h | 7 --- Nt32Pkg/Library/Nt32BdsLib/Nt32BdsLib.inf | 3 -- Nt32Pkg/Nt32Pkg.dsc | 2 - Nt32Pkg/Nt32Pkg.fdf | 2 - 5 files changed, 79 deletions(-) diff --git a/Nt32Pkg/Library/Nt32BdsLib/BdsPlatform.c b/Nt32Pkg/Library/Nt32BdsLib/BdsPlatform.c index 0e5b9f5953..edfcbcfd58 100644 --- a/Nt32Pkg/Library/Nt32BdsLib/BdsPlatform.c +++ b/Nt32Pkg/Library/Nt32BdsLib/BdsPlatform.c @@ -344,11 +344,6 @@ PlatformBdsPolicyBehavior ( // PlatformBdsConnectSequence (); - // - // Perform user identification process - // - PlatformBdsUserIdentify (); - // // Notes: current time out = 0 can not enter the // front page @@ -368,10 +363,6 @@ PlatformBdsPolicyBehavior ( PlatformBdsConnectConsole (gPlatformConsole); PlatformBdsDiagnostics (EXTENSIVE, FALSE, BaseMemoryTest); BdsLibConnectAll (); - // - // Perform user identification process - // - PlatformBdsUserIdentify (); ProcessCapsules (BOOT_ON_FLASH_UPDATE); break; @@ -383,11 +374,6 @@ PlatformBdsPolicyBehavior ( PlatformBdsConnectConsole (gPlatformConsole); PlatformBdsDiagnostics (EXTENSIVE, FALSE, BaseMemoryTest); - // - // Perform user identification process - // - PlatformBdsUserIdentify (); - // // In recovery boot mode, we still enter to the // frong page now @@ -417,11 +403,6 @@ PlatformBdsPolicyBehavior ( // PlatformBdsConnectSequence (); - // - // Perform user identification process - // - PlatformBdsUserIdentify (); - // // Give one chance to enter the setup if we // have the time out @@ -577,49 +558,3 @@ LockKeyboards ( { return EFI_UNSUPPORTED; } - - -EFI_STATUS -PlatformBdsUserIdentify ( - VOID - ) -/*++ - - Routine Description: - - This function is to identify a valid user, if successed, handle the deferred images. - - Arguments: - - None. - - Returns: - - EFI_SUCCESS - User successfully identified. - ---*/ -{ - EFI_STATUS Status; - EFI_USER_MANAGER_PROTOCOL *Manager; - EFI_USER_PROFILE_HANDLE User; - - // - // Locate user manager driver - // - Status = gBS->LocateProtocol ( - &gEfiUserManagerProtocolGuid, - NULL, - &Manager - ); - if (EFI_ERROR (Status)) { - return Status; - } - - // - // Identity user - // - Status = Manager->Identify (Manager, &User); - return Status; -} - - diff --git a/Nt32Pkg/Library/Nt32BdsLib/BdsPlatform.h b/Nt32Pkg/Library/Nt32BdsLib/BdsPlatform.h index 02136a29ea..d9aafc8fcd 100644 --- a/Nt32Pkg/Library/Nt32BdsLib/BdsPlatform.h +++ b/Nt32Pkg/Library/Nt32BdsLib/BdsPlatform.h @@ -37,8 +37,6 @@ Abstract: #include #include -#include -#include #include extern BDS_CONSOLE_CONNECT_ENTRY gPlatformConsole[]; @@ -118,9 +116,4 @@ PlatformBdsEnterFrontPage ( IN BOOLEAN ConnectAllHappened ); -EFI_STATUS -PlatformBdsUserIdentify ( - VOID - ); - #endif // _BDS_PLATFORM_H diff --git a/Nt32Pkg/Library/Nt32BdsLib/Nt32BdsLib.inf b/Nt32Pkg/Library/Nt32BdsLib/Nt32BdsLib.inf index c74e4d3dd3..3708d679cb 100644 --- a/Nt32Pkg/Library/Nt32BdsLib/Nt32BdsLib.inf +++ b/Nt32Pkg/Library/Nt32BdsLib/Nt32BdsLib.inf @@ -56,9 +56,6 @@ [Guids] gEfiWinNtSystemConfigGuid -[Protocols] - gEfiUserManagerProtocolGuid - [Pcd.common] gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn diff --git a/Nt32Pkg/Nt32Pkg.dsc b/Nt32Pkg/Nt32Pkg.dsc index ca82a285e5..406ef8ffe5 100644 --- a/Nt32Pkg/Nt32Pkg.dsc +++ b/Nt32Pkg/Nt32Pkg.dsc @@ -464,8 +464,6 @@ MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatformDriOverrideDxe.inf - SecurityPkg/UserIdentification/UserIdentificationDxe/UserIdentityManager.inf - SecurityPkg/UserIdentification/UserManagerDxe/UserProfileManager.inf [BuildOptions] DEBUG_*_IA32_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /ALIGN:4096 /FILEALIGN:4096 /SUBSYSTEM:CONSOLE RELEASE_*_IA32_DLINK_FLAGS = /ALIGN:4096 /FILEALIGN:4096 diff --git a/Nt32Pkg/Nt32Pkg.fdf b/Nt32Pkg/Nt32Pkg.fdf index 2938b6bd5d..d2d8ccea76 100644 --- a/Nt32Pkg/Nt32Pkg.fdf +++ b/Nt32Pkg/Nt32Pkg.fdf @@ -226,8 +226,6 @@ INF Nt32Pkg/WinNtGopDxe/WinNtGopDxe.inf INF Nt32Pkg/WinNtSimpleFileSystemDxe/WinNtSimpleFileSystemDxe.inf INF MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatformDriOverrideDxe.inf INF MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf -INF SecurityPkg/UserIdentification/UserIdentificationDxe/UserIdentityManager.inf -INF SecurityPkg/UserIdentification/UserManagerDxe/UserProfileManager.inf INF MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf INF MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf -- 2.39.2