//\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
\r
#include <Protocol/WinNtThunk.h>\r
#include <Protocol/WinNtIo.h>\r
-#include <Protocol/LoadedImage.h>\r
-#include <Protocol/UserManager.h>\r
#include <Guid/WinNtSystemConfig.h>\r
\r
extern BDS_CONSOLE_CONNECT_ENTRY gPlatformConsole[];\r
IN BOOLEAN ConnectAllHappened\r
);\r
\r
-EFI_STATUS\r
-PlatformBdsUserIdentify (\r
- VOID\r
- );\r
-\r
#endif // _BDS_PLATFORM_H\r
\r
MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatformDriOverrideDxe.inf\r
\r
- SecurityPkg/UserIdentification/UserIdentificationDxe/UserIdentityManager.inf\r
- SecurityPkg/UserIdentification/UserManagerDxe/UserProfileManager.inf\r
[BuildOptions]\r
DEBUG_*_IA32_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /ALIGN:4096 /FILEALIGN:4096 /SUBSYSTEM:CONSOLE\r
RELEASE_*_IA32_DLINK_FLAGS = /ALIGN:4096 /FILEALIGN:4096\r
INF Nt32Pkg/WinNtSimpleFileSystemDxe/WinNtSimpleFileSystemDxe.inf\r
INF MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatformDriOverrideDxe.inf\r
INF MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf\r
-INF SecurityPkg/UserIdentification/UserIdentificationDxe/UserIdentityManager.inf\r
-INF SecurityPkg/UserIdentification/UserManagerDxe/UserProfileManager.inf\r
\r
INF MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf\r
INF MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf\r