TianoCore EDK2 master
Loading...
Searching...
No Matches
SmbiosView.h
Go to the documentation of this file.
1
9#ifndef _SMBIOS_VIEW_H_
10#define _SMBIOS_VIEW_H_
11
12#define STRUCTURE_TYPE_RANDOM (UINT8) 0xFE
13#define STRUCTURE_TYPE_INVALID (UINT8) 0xFF
14
15typedef struct {
16 UINT16 Index;
17 UINT8 Type;
18 UINT16 Handle;
19 UINT16 Addr; // offset from table head
20 UINT16 Length; // total structure length
22
37 IN UINT8 QueryType,
38 IN UINT16 QueryHandle,
39 IN UINT8 Option,
40 IN BOOLEAN RandomView
41 );
42
57 IN UINT8 QueryType,
58 IN UINT16 QueryHandle,
59 IN UINT8 Option,
60 IN BOOLEAN RandomView
61 );
62
70 VOID
71 );
72
80 VOID
81 );
82
92 IN UINT8 Option
93 );
94
104 IN UINT8 Option
105 );
106
114CHAR16 *
116 UINT8 ShowType
117 );
118
119extern UINT8 gShowType;
120
121extern UINTN mSmbios64BitTableLength;
122
123#endif
UINT64 UINTN
#define IN
Definition: Base.h:279
EFI_STATUS DisplayStatisticsTable(IN UINT8 Option)
Definition: SmbiosView.c:835
EFI_STATUS DisplaySmbios64BitStatisticsTable(IN UINT8 Option)
Definition: SmbiosView.c:917
EFI_STATUS SMBios64View(IN UINT8 QueryType, IN UINT16 QueryHandle, IN UINT8 Option, IN BOOLEAN RandomView)
Definition: SmbiosView.c:424
EFI_STATUS InitSmbiosTableStatistics(VOID)
Definition: SmbiosView.c:595
CHAR16 * GetShowTypeString(UINT8 ShowType)
Definition: SmbiosView.c:999
EFI_STATUS InitSmbios64BitTableStatistics(VOID)
Definition: SmbiosView.c:736
EFI_STATUS SMBiosView(IN UINT8 QueryType, IN UINT16 QueryHandle, IN UINT8 Option, IN BOOLEAN RandomView)
Definition: SmbiosView.c:245
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29