SecurityPkg: Apply uncrustify changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 Apply uncrustify changes to .c/.h files in the SecurityPkg package Cc: Andrew Fish <afish@apple.com> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
This commit is contained in:
committed by
mergify[bot]
parent
39de741e2d
commit
c411b485b6
@@ -20,37 +20,37 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
#define PHYSICAL_PRESENCE_VARIABLE L"PhysicalPresence"
|
||||
|
||||
typedef struct {
|
||||
UINT8 PPRequest; ///< Physical Presence request command.
|
||||
UINT8 LastPPRequest;
|
||||
UINT32 PPResponse;
|
||||
UINT8 PPRequest; ///< Physical Presence request command.
|
||||
UINT8 LastPPRequest;
|
||||
UINT32 PPResponse;
|
||||
} EFI_PHYSICAL_PRESENCE;
|
||||
|
||||
//
|
||||
// The definition of physical presence operation actions
|
||||
//
|
||||
#define PHYSICAL_PRESENCE_NO_ACTION 0
|
||||
#define PHYSICAL_PRESENCE_ENABLE 1
|
||||
#define PHYSICAL_PRESENCE_DISABLE 2
|
||||
#define PHYSICAL_PRESENCE_ACTIVATE 3
|
||||
#define PHYSICAL_PRESENCE_DEACTIVATE 4
|
||||
#define PHYSICAL_PRESENCE_CLEAR 5
|
||||
#define PHYSICAL_PRESENCE_ENABLE_ACTIVATE 6
|
||||
#define PHYSICAL_PRESENCE_DEACTIVATE_DISABLE 7
|
||||
#define PHYSICAL_PRESENCE_SET_OWNER_INSTALL_TRUE 8
|
||||
#define PHYSICAL_PRESENCE_SET_OWNER_INSTALL_FALSE 9
|
||||
#define PHYSICAL_PRESENCE_ENABLE_ACTIVATE_OWNER_TRUE 10
|
||||
#define PHYSICAL_PRESENCE_DEACTIVATE_DISABLE_OWNER_FALSE 11
|
||||
#define PHYSICAL_PRESENCE_DEFERRED_PP_UNOWNERED_FIELD_UPGRADE 12
|
||||
#define PHYSICAL_PRESENCE_SET_OPERATOR_AUTH 13
|
||||
#define PHYSICAL_PRESENCE_CLEAR_ENABLE_ACTIVATE 14
|
||||
#define PHYSICAL_PRESENCE_SET_NO_PPI_PROVISION_FALSE 15
|
||||
#define PHYSICAL_PRESENCE_SET_NO_PPI_PROVISION_TRUE 16
|
||||
#define PHYSICAL_PRESENCE_SET_NO_PPI_CLEAR_FALSE 17
|
||||
#define PHYSICAL_PRESENCE_SET_NO_PPI_CLEAR_TRUE 18
|
||||
#define PHYSICAL_PRESENCE_SET_NO_PPI_MAINTENANCE_FALSE 19
|
||||
#define PHYSICAL_PRESENCE_SET_NO_PPI_MAINTENANCE_TRUE 20
|
||||
#define PHYSICAL_PRESENCE_ENABLE_ACTIVATE_CLEAR 21
|
||||
#define PHYSICAL_PRESENCE_ENABLE_ACTIVATE_CLEAR_ENABLE_ACTIVATE 22
|
||||
#define PHYSICAL_PRESENCE_NO_ACTION 0
|
||||
#define PHYSICAL_PRESENCE_ENABLE 1
|
||||
#define PHYSICAL_PRESENCE_DISABLE 2
|
||||
#define PHYSICAL_PRESENCE_ACTIVATE 3
|
||||
#define PHYSICAL_PRESENCE_DEACTIVATE 4
|
||||
#define PHYSICAL_PRESENCE_CLEAR 5
|
||||
#define PHYSICAL_PRESENCE_ENABLE_ACTIVATE 6
|
||||
#define PHYSICAL_PRESENCE_DEACTIVATE_DISABLE 7
|
||||
#define PHYSICAL_PRESENCE_SET_OWNER_INSTALL_TRUE 8
|
||||
#define PHYSICAL_PRESENCE_SET_OWNER_INSTALL_FALSE 9
|
||||
#define PHYSICAL_PRESENCE_ENABLE_ACTIVATE_OWNER_TRUE 10
|
||||
#define PHYSICAL_PRESENCE_DEACTIVATE_DISABLE_OWNER_FALSE 11
|
||||
#define PHYSICAL_PRESENCE_DEFERRED_PP_UNOWNERED_FIELD_UPGRADE 12
|
||||
#define PHYSICAL_PRESENCE_SET_OPERATOR_AUTH 13
|
||||
#define PHYSICAL_PRESENCE_CLEAR_ENABLE_ACTIVATE 14
|
||||
#define PHYSICAL_PRESENCE_SET_NO_PPI_PROVISION_FALSE 15
|
||||
#define PHYSICAL_PRESENCE_SET_NO_PPI_PROVISION_TRUE 16
|
||||
#define PHYSICAL_PRESENCE_SET_NO_PPI_CLEAR_FALSE 17
|
||||
#define PHYSICAL_PRESENCE_SET_NO_PPI_CLEAR_TRUE 18
|
||||
#define PHYSICAL_PRESENCE_SET_NO_PPI_MAINTENANCE_FALSE 19
|
||||
#define PHYSICAL_PRESENCE_SET_NO_PPI_MAINTENANCE_TRUE 20
|
||||
#define PHYSICAL_PRESENCE_ENABLE_ACTIVATE_CLEAR 21
|
||||
#define PHYSICAL_PRESENCE_ENABLE_ACTIVATE_CLEAR_ENABLE_ACTIVATE 22
|
||||
|
||||
//
|
||||
// This variable is used to save TPM Management Flags and corresponding operations.
|
||||
@@ -58,18 +58,17 @@ typedef struct {
|
||||
//
|
||||
#define PHYSICAL_PRESENCE_FLAGS_VARIABLE L"PhysicalPresenceFlags"
|
||||
typedef struct {
|
||||
UINT8 PPFlags;
|
||||
UINT8 PPFlags;
|
||||
} EFI_PHYSICAL_PRESENCE_FLAGS;
|
||||
|
||||
//
|
||||
// The definition bit of the TPM Management Flags
|
||||
//
|
||||
#define FLAG_NO_PPI_PROVISION BIT0
|
||||
#define FLAG_NO_PPI_CLEAR BIT1
|
||||
#define FLAG_NO_PPI_MAINTENANCE BIT2
|
||||
#define FLAG_RESET_TRACK BIT3
|
||||
#define FLAG_NO_PPI_PROVISION BIT0
|
||||
#define FLAG_NO_PPI_CLEAR BIT1
|
||||
#define FLAG_NO_PPI_MAINTENANCE BIT2
|
||||
#define FLAG_RESET_TRACK BIT3
|
||||
|
||||
extern EFI_GUID gEfiPhysicalPresenceGuid;
|
||||
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user