9#ifndef _LIB_SMBIOS_VIEW_H_
10#define _LIB_SMBIOS_VIEW_H_
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
27#define INVALID_HANDLE (UINT16) (-1)
29#define EFI_SMBIOSERR(val) EFIERR (0x30000 | val)
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)
104 IN UINT16 StringNumber
125 IN OUT UINT16 *Handle,
148 IN OUT UINT16 *Handle,
EFI_STATUS LibSmbiosInit(VOID)
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)
CHAR8 * LibGetSmbiosString(IN SMBIOS_STRUCTURE_POINTER *Smbios, IN UINT16 StringNumber)
VOID LibSmbios64BitCleanup(VOID)
VOID LibSmbiosCleanup(VOID)
VOID LibSmbiosGetEPS(OUT SMBIOS_TABLE_ENTRY_POINT **EntryPointStructure)