2007-06-28 09:00:39 +02:00
|
|
|
/*++
|
|
|
|
|
|
|
|
Copyright (c) 2004, Intel Corporation
|
|
|
|
All rights reserved. This program and the accompanying materials
|
|
|
|
are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
which accompanies this distribution. The full text of the license may be found at
|
|
|
|
http://opensource.org/licenses/bsd-license.php
|
|
|
|
|
|
|
|
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
|
|
|
|
Module Name:
|
|
|
|
|
|
|
|
Security.h
|
|
|
|
|
|
|
|
Abstract:
|
|
|
|
|
|
|
|
Security Architectural PPI as defined in Tiano
|
|
|
|
|
|
|
|
--*/
|
|
|
|
|
|
|
|
#ifndef _SECURITY_PPI_H_
|
|
|
|
#define _SECURITY_PPI_H_
|
|
|
|
|
|
|
|
#define PEI_SECURITY_PPI_GUID \
|
|
|
|
{ \
|
2008-03-28 13:00:46 +01:00
|
|
|
0x1388066e, 0x3a57, 0x4efa, {0x98, 0xf3, 0xc1, 0x2f, 0x3a, 0x95, 0x8a, 0x29} \
|
2007-06-28 09:00:39 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
EFI_FORWARD_DECLARATION (PEI_SECURITY_PPI);
|
|
|
|
|
|
|
|
typedef
|
|
|
|
EFI_STATUS
|
|
|
|
(EFIAPI *PEI_SECURITY_AUTHENTICATION_STATE) (
|
|
|
|
IN EFI_PEI_SERVICES **PeiServices,
|
|
|
|
IN PEI_SECURITY_PPI * This,
|
|
|
|
IN UINT32 AuthenticationStatus,
|
|
|
|
IN EFI_FFS_FILE_HEADER * FfsFileHeader,
|
|
|
|
IN OUT BOOLEAN *StartCrisisRecovery
|
|
|
|
);
|
|
|
|
|
2008-03-20 21:54:38 +01:00
|
|
|
struct _PEI_SECURITY_PPI {
|
2007-06-28 09:00:39 +02:00
|
|
|
PEI_SECURITY_AUTHENTICATION_STATE AuthenticationState;
|
2008-03-20 21:54:38 +01:00
|
|
|
};
|
2007-06-28 09:00:39 +02:00
|
|
|
|
|
|
|
extern EFI_GUID gPeiSecurityPpiGuid;
|
|
|
|
|
|
|
|
#endif
|