]>
git.proxmox.com Git - mirror_edk2.git/blob - Nt32Pkg/Library/PlatformSecureLib/PlatformSecureLib.c
2 Provides a platform-specific method to enable Secure Boot Custom Mode setup.
4 Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
8 #include <Library/PcdLib.h>
13 This function provides a platform-specific method to detect whether the platform
14 is operating by a physically present user.
16 Programmatic changing of platform security policy (such as disable Secure Boot,
17 or switch between Standard/Custom Secure Boot mode) MUST NOT be possible during
18 Boot Services or after exiting EFI Boot Services. Only a physically present user
19 is allowed to perform these operations.
21 NOTE THAT: This function cannot depend on any EFI Variable Service since they are
22 not available when this function is called in AuthenticateVariable driver.
24 @retval TRUE The platform is operated by a physically present user.
25 @retval FALSE The platform is NOT operated by a physically present user.