TianoCore EDK2 master
Loading...
Searching...
No Matches
HardwareInfoPei.c
1/*/@file
2 Hardware info parsing functions.
3 Binary data is expected as a consecutive series of header - object pairs.
4 Provides static Qemu fw-cfg wrappers as well as list-like interface to
5 dynamically manipulate hardware info objects and parsing from a generic
6 blob.
7
8 Copyright 2021 - 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
9 SPDX-License-Identifier: BSD-2-Clause-Patent
10
11**/
12
13#include <Library/DebugLib.h>
14
15#include <Library/HardwareInfoLib.h>
16
18CreateHardwareInfoList (
19 IN UINT8 *Blob,
20 IN UINTN BlobSize,
21 IN HARDWARE_INFO_TYPE TypeFilter,
22 OUT LIST_ENTRY *ListHead
23 )
24{
25 ASSERT (FALSE);
26 return EFI_UNSUPPORTED;
27}
28
29VOID
30FreeHardwareInfoList (
31 IN OUT LIST_ENTRY *ListHead
32 )
33{
34 ASSERT (FALSE);
35}
36
38GetHardwareInfoCountByType (
39 IN LIST_ENTRY *ListHead,
40 IN HARDWARE_INFO_TYPE Type,
41 IN UINTN TypeSize
42 )
43{
44 ASSERT (FALSE);
45 return 0;
46}
47
49GetFirstHardwareInfoByType (
50 IN LIST_ENTRY *ListHead,
51 IN HARDWARE_INFO_TYPE Type,
52 IN UINTN TypeSize
53 )
54{
55 ASSERT (FALSE);
56 return ListHead;
57}
58
60GetNextHardwareInfoByType (
61 IN LIST_ENTRY *ListHead,
62 IN LIST_ENTRY *Node,
63 IN HARDWARE_INFO_TYPE Type,
64 IN UINTN TypeSize
65 )
66{
67 ASSERT (FALSE);
68 return ListHead;
69}
70
71BOOLEAN
72EndOfHardwareInfoList (
73 IN LIST_ENTRY *ListHead,
74 IN LIST_ENTRY *Node
75 )
76{
77 ASSERT (FALSE);
78 return TRUE;
79}
UINT64 UINTN
#define TRUE
Definition: Base.h:301
#define FALSE
Definition: Base.h:307
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29