alder_lake_bios/Board/Oem/L05AlderLakePMultiBoardPkg/Library/DxeOemSvcKernelLib/OemSvcTpmUserConfirmDialog.c

50 lines
1.7 KiB
C

/** @file
Define how the user confirm dialog will be printed.
;******************************************************************************
;* Copyright (c) 2013, Insyde Software Corporation. All Rights Reserved.
;*
;* You may not reproduce, distribute, publish, display, perform, modify, adapt,
;* transmit, broadcast, present, recite, release, license or otherwise exploit
;* any part of this publication in any form, by any means, without the prior
;* written permission of Insyde Software Corporation.
;*
;******************************************************************************
*/
#include <Library/DxeOemSvcKernelLib.h>
#include <KernelSetupConfig.h>
/**
Provides a chance for OEM to customize the User Confirm Dialog.
@param[in] TpmPpCommand Physical Presence request command code
@param[in] TpmVersion Version of TPM device
@param[out] Confirmed Indicates the request is accepted or not
@retval EFI_SUCCESS Operation successed
@retval EFI_UNSUPPORTED Returns unsupported by default
@retval Others Operation failed
**/
EFI_STATUS
OemSvcTpmUserConfirmDialog (
IN UINT8 TpmPpCommand,
IN UINT8 TpmVersion,
OUT BOOLEAN *Confirmed
)
{
/*++
Todo:
Add project specific code in here.
--*/
//_Start_L05_TPM_
// According to Lenovo spec,it provides hook for project modify to show/pass confirm dialog.
//
// Lenovo spec recorded TPM description:
// To support manufacture line TPM test, Lenovo recommend to use manufacture done flag
// to control BIOS prompt for clear TPM operation.
//_End_L05_TPM_
return EFI_UNSUPPORTED;
}