TianoCore EDK2 master
Loading...
Searching...
No Matches
LibSmbiosView.h
Go to the documentation of this file.
1
9#ifndef _LIB_SMBIOS_VIEW_H_
10#define _LIB_SMBIOS_VIEW_H_
11
13
14#define DMI_SUCCESS 0x00
15#define DMI_UNKNOWN_FUNCTION 0x81
16#define DMI_FUNCTION_NOT_SUPPORTED 0x82
17#define DMI_INVALID_HANDLE 0x83
18#define DMI_BAD_PARAMETER 0x84
19#define DMI_INVALID_SUBFUNCTION 0x85
20#define DMI_NO_CHANGE 0x86
21#define DMI_ADD_STRUCTURE_FAILED 0x87
22#define DMI_READ_ONLY 0x8D
23#define DMI_LOCK_NOT_SUPPORTED 0x90
24#define DMI_CURRENTLY_LOCKED 0x91
25#define DMI_INVALID_LOCK 0x92
26
27#define INVALID_HANDLE (UINT16) (-1)
28
29#define EFI_SMBIOSERR(val) EFIERR (0x30000 | val)
30
31#define EFI_SMBIOSERR_FAILURE EFI_SMBIOSERR (1)
32#define EFI_SMBIOSERR_STRUCT_NOT_FOUND EFI_SMBIOSERR (2)
33#define EFI_SMBIOSERR_TYPE_UNKNOWN EFI_SMBIOSERR (3)
34#define EFI_SMBIOSERR_UNSUPPORTED EFI_SMBIOSERR (4)
35
43 VOID
44 );
45
53 VOID
54 );
55
59VOID
61 VOID
62 );
63
67VOID
69 VOID
70 );
71
77VOID
79 OUT SMBIOS_TABLE_ENTRY_POINT **EntryPointStructure
80 );
81
87VOID
89 OUT SMBIOS_TABLE_3_0_ENTRY_POINT **EntryPointStructure
90 );
91
101CHAR8 *
104 IN UINT16 StringNumber
105 );
106
125 IN OUT UINT16 *Handle,
126 OUT UINT8 **Buffer,
127 OUT UINT16 *Length
128 );
129
148 IN OUT UINT16 *Handle,
149 OUT UINT8 **Buffer,
150 OUT UINT16 *Length
151 );
152
153#endif
EFI_STATUS LibSmbiosInit(VOID)
Definition: LibSmbiosView.c:29
EFI_STATUS LibGetSmbios64BitStructure(IN OUT UINT16 *Handle, OUT UINT8 **Buffer, OUT UINT16 *Length)
VOID LibSmbios64BitGetEPS(OUT SMBIOS_TABLE_3_0_ENTRY_POINT **EntryPointStructure)
EFI_STATUS LibGetSmbiosStructure(IN OUT UINT16 *Handle, OUT UINT8 **Buffer, OUT UINT16 *Length)
EFI_STATUS LibSmbios64BitInit(VOID)
Definition: LibSmbiosView.c:71
CHAR8 * LibGetSmbiosString(IN SMBIOS_STRUCTURE_POINTER *Smbios, IN UINT16 StringNumber)
VOID LibSmbios64BitCleanup(VOID)
VOID LibSmbiosCleanup(VOID)
VOID LibSmbiosGetEPS(OUT SMBIOS_TABLE_ENTRY_POINT **EntryPointStructure)
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29