2 Hardware info types' definitions.
3 General hardware info types to parse the binary data
5 Copyright 2021 - 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
6 SPDX-License-Identifier: BSD-2-Clause-Patent
10 #ifndef __HARDWARE_INFO_TYPES_LIB_H__
11 #define __HARDWARE_INFO_TYPES_LIB_H__
13 // Specific hardware types:
14 #include "HardwareInfoPciHostBridgeLib.h"
17 // Hardware info types enumeration listing the supported
18 // types which have an associated type definition
21 HardwareInfoTypeUndefined
= 0,
22 HardwareInfoTypeHostBridge
= 1,
28 // Header format preceding and describing an associated hardware
35 HARDWARE_INFO_TYPE Value
;
38 } HARDWARE_INFO_HEADER
;
42 // Generic data structure to access any supported hardware type
43 // resource definition
48 HARDWARE_INFO_HEADER Header
;
51 HOST_BRIDGE_INFO
*PciHostBridge
;
56 #define HARDWARE_INFO_FROM_LINK(a) \
57 BASE_CR (a, HARDWARE_INFO, Link)
59 #endif // __HARDWARE_INFO_TYPES_LIB_H__