3 Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR>
4 SPDX-License-Identifier: BSD-2-Clause-Patent
12 #include <Library/BaseLib.h>
13 #include <Library/BaseMemoryLib.h>
14 #include <Library/MemoryAllocationLib.h>
15 #include <Library/UefiBootServicesTableLib.h>
16 #include <Library/DebugLib.h>
18 #include <IndustryStandard/Hsti.h>
20 #include <Protocol/AdapterInformation.h>
22 #define HSTI_AIP_PRIVATE_SIGNATURE SIGNATURE_32('H', 'S', 'T', 'I')
27 EFI_ADAPTER_INFORMATION_PROTOCOL Aip
;
31 } HSTI_AIP_PRIVATE_DATA
;
33 #define HSTI_AIP_PRIVATE_DATA_FROM_THIS(a) \
35 HSTI_AIP_PRIVATE_DATA, \
37 HSTI_AIP_PRIVATE_SIGNATURE \
40 #define HSTI_DEFAULT_ERROR_STRING_LEN 255
42 extern EFI_ADAPTER_INFORMATION_PROTOCOL mAdapterInformationProtocol
;
45 Return if input HSTI data follows HSTI specification.
47 @param HstiData HSTI data
48 @param HstiSize HSTI size
50 @retval TRUE HSTI data follows HSTI specification.
51 @retval FALSE HSTI data does not follow HSTI specification.
54 InternalHstiIsValidTable (