OvmfPkg: Apply uncrustify changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 Apply uncrustify changes to .c/.h files in the OvmfPkg 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: Andrew Fish <afish@apple.com>
This commit is contained in:
committed by
mergify[bot]
parent
d1050b9dff
commit
ac0a286f4d
@@ -17,28 +17,28 @@
|
||||
//
|
||||
// whether function is blocked by BIOS settings; bits 0, 1, 2
|
||||
//
|
||||
#define QEMU_TPM_PPI_FUNC_NOT_IMPLEMENTED (0 << 0)
|
||||
#define QEMU_TPM_PPI_FUNC_BIOS_ONLY (1 << 0)
|
||||
#define QEMU_TPM_PPI_FUNC_BLOCKED (2 << 0)
|
||||
#define QEMU_TPM_PPI_FUNC_ALLOWED_USR_REQ (3 << 0)
|
||||
#define QEMU_TPM_PPI_FUNC_ALLOWED_USR_NOT_REQ (4 << 0)
|
||||
#define QEMU_TPM_PPI_FUNC_MASK (7 << 0)
|
||||
#define QEMU_TPM_PPI_FUNC_NOT_IMPLEMENTED (0 << 0)
|
||||
#define QEMU_TPM_PPI_FUNC_BIOS_ONLY (1 << 0)
|
||||
#define QEMU_TPM_PPI_FUNC_BLOCKED (2 << 0)
|
||||
#define QEMU_TPM_PPI_FUNC_ALLOWED_USR_REQ (3 << 0)
|
||||
#define QEMU_TPM_PPI_FUNC_ALLOWED_USR_NOT_REQ (4 << 0)
|
||||
#define QEMU_TPM_PPI_FUNC_MASK (7 << 0)
|
||||
|
||||
//
|
||||
// The following structure is shared between firmware and ACPI.
|
||||
//
|
||||
#pragma pack (1)
|
||||
typedef struct {
|
||||
UINT8 Func[256]; // func
|
||||
UINT8 In; // ppin
|
||||
UINT32 Ip; // ppip
|
||||
UINT32 Response; // pprp
|
||||
UINT32 Request; // pprq
|
||||
UINT32 RequestParameter; // pprm
|
||||
UINT32 LastRequest; // lppr
|
||||
UINT32 FRet; // fret
|
||||
UINT8 Res1[0x40]; // res1
|
||||
UINT8 NextStep; // next_step
|
||||
UINT8 Func[256]; // func
|
||||
UINT8 In; // ppin
|
||||
UINT32 Ip; // ppip
|
||||
UINT32 Response; // pprp
|
||||
UINT32 Request; // pprq
|
||||
UINT32 RequestParameter; // pprm
|
||||
UINT32 LastRequest; // lppr
|
||||
UINT32 FRet; // fret
|
||||
UINT8 Res1[0x40]; // res1
|
||||
UINT8 NextStep; // next_step
|
||||
} QEMU_TPM_PPI;
|
||||
#pragma pack ()
|
||||
|
||||
@@ -47,15 +47,15 @@ typedef struct {
|
||||
//
|
||||
#pragma pack (1)
|
||||
typedef struct {
|
||||
UINT32 PpiAddress;
|
||||
UINT8 TpmVersion;
|
||||
UINT8 PpiVersion;
|
||||
UINT32 PpiAddress;
|
||||
UINT8 TpmVersion;
|
||||
UINT8 PpiVersion;
|
||||
} QEMU_FWCFG_TPM_CONFIG;
|
||||
#pragma pack ()
|
||||
|
||||
#define QEMU_TPM_VERSION_UNSPEC 0
|
||||
#define QEMU_TPM_VERSION_1_2 1
|
||||
#define QEMU_TPM_VERSION_2 2
|
||||
#define QEMU_TPM_VERSION_UNSPEC 0
|
||||
#define QEMU_TPM_VERSION_1_2 1
|
||||
#define QEMU_TPM_VERSION_2 2
|
||||
|
||||
#define QEMU_TPM_PPI_VERSION_NONE 0
|
||||
#define QEMU_TPM_PPI_VERSION_1_30 1
|
||||
|
Reference in New Issue
Block a user