mirror of https://github.com/acidanthera/audk.git
code clean up for Security.h.
1. Incorrect comment style preceding _EFI_PEI_SECURITY_PPI. The comments in the file have the format used to describe a function, and should have the format for a structure. 2. Latest PEI CIS (0.91) indicates the param should be: IN OUT BOOLEAN *DeferExecution whereas in the H file it's: IN OUT BOOLEAN *StartCrisisRecovery git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8719 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
c715423427
commit
badb54ab92
|
@ -40,14 +40,12 @@ typedef struct _EFI_PEI_SECURITY_PPI EFI_PEI_SECURITY_PPI;
|
||||||
|
|
||||||
@param PeiServices Pointer to the PEI Services Table.
|
@param PeiServices Pointer to the PEI Services Table.
|
||||||
@param This Interface pointer that implements the particular EFI_PEI_SECURITY_PPI instance.
|
@param This Interface pointer that implements the particular EFI_PEI_SECURITY_PPI instance.
|
||||||
@param AuthenticationStatus
|
@param AuthenticationStatus Status returned by the verification service as part of section extraction.
|
||||||
Status returned by the verification service as part of section extraction.
|
|
||||||
@param FfsFileHeader Pointer to the file under review.
|
@param FfsFileHeader Pointer to the file under review.
|
||||||
@param DeferExecution Pointer to a variable that alerts the PEI Foundation to defer execution of a PEIM.
|
@param DeferExecution Pointer to a variable that alerts the PEI Foundation to defer execution of a PEIM.
|
||||||
|
|
||||||
@retval EFI_SUCCESS The service performed its action successfully.
|
@retval EFI_SUCCESS The service performed its action successfully.
|
||||||
@retval EFI_SECURITY_VIOLATION The object cannot be trusted
|
@retval EFI_SECURITY_VIOLATION The object cannot be trusted
|
||||||
|
|
||||||
**/
|
**/
|
||||||
typedef
|
typedef
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
|
@ -56,20 +54,12 @@ EFI_STATUS
|
||||||
IN EFI_PEI_SECURITY_PPI *This,
|
IN EFI_PEI_SECURITY_PPI *This,
|
||||||
IN UINT32 AuthenticationStatus,
|
IN UINT32 AuthenticationStatus,
|
||||||
IN EFI_FFS_FILE_HEADER *FfsFileHeader,
|
IN EFI_FFS_FILE_HEADER *FfsFileHeader,
|
||||||
IN OUT BOOLEAN *StartCrisisRecovery
|
IN OUT BOOLEAN *DeferExecution
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
//
|
||||||
@par Ppi Description:
|
// PPI interface structure of Security PPI
|
||||||
This PPI is installed by some platform PEIM that abstracts the security
|
//
|
||||||
policy to the PEI Foundation, namely the case of a PEIM's authentication
|
|
||||||
state being returned during the PEI section extraction process.
|
|
||||||
|
|
||||||
@param AuthenticationState
|
|
||||||
Allows the platform builder to implement a security policy in response
|
|
||||||
to varying file authentication states.
|
|
||||||
|
|
||||||
**/
|
|
||||||
struct _EFI_PEI_SECURITY_PPI {
|
struct _EFI_PEI_SECURITY_PPI {
|
||||||
EFI_PEI_SECURITY_AUTHENTICATION_STATE AuthenticationState;
|
EFI_PEI_SECURITY_AUTHENTICATION_STATE AuthenticationState;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue