2 Opal Password common header file.
4 Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 #ifndef _OPAL_PASSWORD_COMMON_H_
16 #define _OPAL_PASSWORD_COMMON_H_
18 #define OPAL_MAX_PASSWORD_SIZE 32
20 #define OPAL_DEVICE_TYPE_UNKNOWN 0x0
21 #define OPAL_DEVICE_TYPE_ATA 0x1
22 #define OPAL_DEVICE_TYPE_NVME 0x2
34 OPAL_PCI_DEVICE Device
;
36 UINT8 Password
[OPAL_MAX_PASSWORD_SIZE
];
41 #define OPAL_DEVICE_ATA_GUID { 0xcb934fe1, 0xb8cd, 0x46b1, { 0xa0, 0x58, 0xdd, 0xcb, 0x7, 0xb7, 0xb4, 0x17 } }
45 OPAL_PCI_DEVICE Device
;
47 UINT8 Password
[OPAL_MAX_PASSWORD_SIZE
];
51 UINT16 PortMultiplierPort
;
54 #define OPAL_DEVICE_NVME_GUID { 0xde116925, 0xaf7f, 0x42d9, { 0x83, 0xc0, 0x7e, 0xd6, 0x26, 0x59, 0x0, 0xfb } }
58 OPAL_PCI_DEVICE Device
;
60 UINT8 Password
[OPAL_MAX_PASSWORD_SIZE
];
63 UINT32 NvmeNamespaceId
;
64 OPAL_PCI_DEVICE PciBridgeNode
[0];
67 #endif // _OPAL_PASSWORD_COMMON_H_