]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Nt32Pkg/Library/Nt32BdsLib/BdsPlatform.c
Update Nt32 package to remove UID support .
[mirror_edk2.git] / Nt32Pkg / Library / Nt32BdsLib / BdsPlatform.c
index 0e5b9f5953d270994b601bcdbc85f2dbba942cce..edfcbcfd584f92f078503fa88f72fb7328ee72fa 100644 (file)
@@ -344,11 +344,6 @@ PlatformBdsPolicyBehavior (
     //\r
     PlatformBdsConnectSequence ();\r
 \r
-    //\r
-    // Perform user identification process\r
-    //\r
-    PlatformBdsUserIdentify ();\r
-    \r
     //\r
     // Notes: current time out = 0 can not enter the\r
     // front page\r
@@ -368,10 +363,6 @@ PlatformBdsPolicyBehavior (
     PlatformBdsConnectConsole (gPlatformConsole);\r
     PlatformBdsDiagnostics (EXTENSIVE, FALSE, BaseMemoryTest);\r
     BdsLibConnectAll ();\r
-    //\r
-    // Perform user identification process\r
-    //\r
-    PlatformBdsUserIdentify ();\r
     ProcessCapsules (BOOT_ON_FLASH_UPDATE);\r
     break;\r
 \r
@@ -383,11 +374,6 @@ PlatformBdsPolicyBehavior (
     PlatformBdsConnectConsole (gPlatformConsole);\r
     PlatformBdsDiagnostics (EXTENSIVE, FALSE, BaseMemoryTest);\r
 \r
-    //\r
-    // Perform user identification process\r
-    //\r
-    PlatformBdsUserIdentify ();\r
-    \r
     //\r
     // In recovery boot mode, we still enter to the\r
     // frong page now\r
@@ -417,11 +403,6 @@ PlatformBdsPolicyBehavior (
     //\r
     PlatformBdsConnectSequence ();\r
 \r
-    //\r
-    // Perform user identification process\r
-    //\r
-    PlatformBdsUserIdentify ();\r
-    \r
     //\r
     // Give one chance to enter the setup if we\r
     // have the time out\r
@@ -577,49 +558,3 @@ LockKeyboards (
 {\r
     return EFI_UNSUPPORTED;\r
 }\r
-\r
-\r
-EFI_STATUS\r
-PlatformBdsUserIdentify (\r
-  VOID\r
-  )\r
-/*++\r
-\r
-  Routine Description:\r
-\r
-  This function is to identify a valid user, if successed, handle the deferred images.\r
-\r
-  Arguments:\r
-\r
-  None.\r
-\r
-  Returns:\r
-\r
-  EFI_SUCCESS      - User successfully identified.\r
-\r
---*/\r
-{\r
-  EFI_STATUS                          Status;\r
-  EFI_USER_MANAGER_PROTOCOL           *Manager;\r
-  EFI_USER_PROFILE_HANDLE             User;\r
-\r
-  //\r
-  // Locate user manager driver\r
-  //\r
-  Status = gBS->LocateProtocol (\r
-                  &gEfiUserManagerProtocolGuid,\r
-                  NULL,\r
-                  &Manager\r
-                  );\r
-  if (EFI_ERROR (Status)) {\r
-    return Status;\r
-  }\r
-  \r
-  //\r
-  // Identity user\r
-  //\r
-  Status = Manager->Identify (Manager, &User);\r
-  return Status;\r
-}\r
-\r
-\r