TianoCore EDK2 master
Loading...
Searching...
No Matches
HddPasswordCommon.h File Reference

Go to the source code of this file.

Data Structures

struct  HDD_PASSWORD_DEVICE
 
struct  HDD_PASSWORD_DEVICE_INFO
 

Macros

#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 MAX_HDD_PASSWORD_RETRY_COUNT   5
 
#define HDD_PASSWORD_MAX_LENGTH   32
 
#define HDD_PASSWORD_DEVICE_INFO_GUID   { 0x96d877ad, 0x48af, 0x4b39, { 0x9b, 0x27, 0x4d, 0x97, 0x43, 0x9, 0xae, 0x47 } }
 

Detailed Description

HDD Password common header file.

Copyright (c) 2019, Intel Corporation. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file HddPasswordCommon.h.

Macro Definition Documentation

◆ ATA_SECURITY_DIS_PASSWORD_CMD

#define ATA_SECURITY_DIS_PASSWORD_CMD   0xF6

Definition at line 21 of file HddPasswordCommon.h.

◆ ATA_SECURITY_FREEZE_LOCK_CMD

#define ATA_SECURITY_FREEZE_LOCK_CMD   0xF5

Definition at line 20 of file HddPasswordCommon.h.

◆ ATA_SECURITY_SET_PASSWORD_CMD

#define ATA_SECURITY_SET_PASSWORD_CMD   0xF1

Definition at line 18 of file HddPasswordCommon.h.

◆ ATA_SECURITY_UNLOCK_CMD

#define ATA_SECURITY_UNLOCK_CMD   0xF2

Definition at line 19 of file HddPasswordCommon.h.

◆ HDD_PASSWORD_DEVICE_INFO_GUID

#define HDD_PASSWORD_DEVICE_INFO_GUID   { 0x96d877ad, 0x48af, 0x4b39, { 0x9b, 0x27, 0x4d, 0x97, 0x43, 0x9, 0xae, 0x47 } }

Definition at line 33 of file HddPasswordCommon.h.

◆ HDD_PASSWORD_MAX_LENGTH

#define HDD_PASSWORD_MAX_LENGTH   32

Definition at line 31 of file HddPasswordCommon.h.

◆ HDD_PAYLOAD

#define HDD_PAYLOAD   512

Definition at line 16 of file HddPasswordCommon.h.

◆ MAX_HDD_PASSWORD_RETRY_COUNT

#define MAX_HDD_PASSWORD_RETRY_COUNT   5

Definition at line 26 of file HddPasswordCommon.h.