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
@@ -13,32 +13,32 @@
|
||||
//
|
||||
// The payload length of HDD related ATA commands
|
||||
//
|
||||
#define HDD_PAYLOAD 512
|
||||
#define HDD_PAYLOAD 512
|
||||
|
||||
#define ATA_SECURITY_SET_PASSWORD_CMD 0xF1
|
||||
#define ATA_SECURITY_UNLOCK_CMD 0xF2
|
||||
#define ATA_SECURITY_FREEZE_LOCK_CMD 0xF5
|
||||
#define ATA_SECURITY_DIS_PASSWORD_CMD 0xF6
|
||||
#define ATA_SECURITY_SET_PASSWORD_CMD 0xF1
|
||||
#define ATA_SECURITY_UNLOCK_CMD 0xF2
|
||||
#define ATA_SECURITY_FREEZE_LOCK_CMD 0xF5
|
||||
#define ATA_SECURITY_DIS_PASSWORD_CMD 0xF6
|
||||
|
||||
//
|
||||
// The max retry count specified in ATA 8 spec.
|
||||
//
|
||||
#define MAX_HDD_PASSWORD_RETRY_COUNT 5
|
||||
#define MAX_HDD_PASSWORD_RETRY_COUNT 5
|
||||
|
||||
//
|
||||
// According to ATA spec, the max length of hdd password is 32 bytes
|
||||
//
|
||||
#define HDD_PASSWORD_MAX_LENGTH 32
|
||||
#define HDD_PASSWORD_MAX_LENGTH 32
|
||||
|
||||
#define HDD_PASSWORD_DEVICE_INFO_GUID { 0x96d877ad, 0x48af, 0x4b39, { 0x9b, 0x27, 0x4d, 0x97, 0x43, 0x9, 0xae, 0x47 } }
|
||||
#define HDD_PASSWORD_DEVICE_INFO_GUID { 0x96d877ad, 0x48af, 0x4b39, { 0x9b, 0x27, 0x4d, 0x97, 0x43, 0x9, 0xae, 0x47 } }
|
||||
|
||||
typedef struct {
|
||||
UINT8 Bus;
|
||||
UINT8 Device;
|
||||
UINT8 Function;
|
||||
UINT8 Reserved;
|
||||
UINT16 Port;
|
||||
UINT16 PortMultiplierPort;
|
||||
UINT8 Bus;
|
||||
UINT8 Device;
|
||||
UINT8 Function;
|
||||
UINT8 Reserved;
|
||||
UINT16 Port;
|
||||
UINT16 PortMultiplierPort;
|
||||
} HDD_PASSWORD_DEVICE;
|
||||
|
||||
//
|
||||
|
Reference in New Issue
Block a user