2 Implementation of Opal password support library.
4 Copyright (c) 2016 - 2017, 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 _DXE_OPAL_NOTIFY_H_
16 #define _DXE_OPAL_NOTIFY_H_
21 #include <Guid/PiSmmCommunicationRegionTable.h>
22 #include <Library/DebugLib.h>
23 #include <Library/BaseMemoryLib.h>
24 #include <Library/UefiBootServicesTableLib.h>
25 #include <Library/UefiLib.h>
26 #include <Library/OpalPasswordSupportLib.h>
27 #include <Library/DevicePathLib.h>
28 #include <Library/MemoryAllocationLib.h>
30 #include <Protocol/SmmCommunication.h>
31 #include <Protocol/SmmBase2.h>
38 EFI_STATUS ReturnStatus
;
40 } OPAL_SMM_COMMUNICATE_HEADER
;
46 EFI_DEVICE_PATH_PROTOCOL OpalDevicePath
;
47 } OPAL_COMM_DEVICE_LIST
;
51 #define SMM_FUNCTION_SET_OPAL_PASSWORD 1
53 #define OPAL_PASSWORD_NOTIFY_PROTOCOL_GUID {0x0ff2ddd0, 0xefc9, 0x4f49, { 0x99, 0x7a, 0xcb, 0x59, 0x44, 0xe6, 0x97, 0xd3 } }