//\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
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
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
//\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
{\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