TianoCore EDK2 master
Loading...
Searching...
No Matches
SmbiosLib.h
Go to the documentation of this file.
1
12#ifndef _SMBIOS_LIB_H__
13#define _SMBIOS_LIB_H__
14
16#include <Protocol/Smbios.h>
17
22
28typedef struct {
29 //
30 // formatted area of a given SMBIOS record
31 //
32 SMBIOS_STRUCTURE *Entry;
33 //
34 // NULL terminated array of ASCII strings to be added to the SMBIOS record.
35 //
36 CHAR8 **StringArray;
38
49EFIAPI
52 );
53
84EFIAPI
86 IN SMBIOS_STRUCTURE *SmbiosEntry,
87 IN CHAR8 **StringArray
88 );
89
106EFIAPI
108 IN EFI_SMBIOS_HANDLE SmbiosHandle,
109 IN SMBIOS_TABLE_STRING StringNumber,
110 IN CHAR8 *String
111 );
112
129EFIAPI
131 IN EFI_SMBIOS_HANDLE SmbiosHandle,
132 IN SMBIOS_TABLE_STRING StringNumber,
133 IN CHAR16 *String
134 );
135
145CHAR8 *
146EFIAPI
148 IN SMBIOS_STRUCTURE *Header,
149 IN EFI_SMBIOS_STRING StringNumber
150 );
151
163EFIAPI
165 IN EFI_SMBIOS_TYPE Type,
166 IN UINTN Instance,
167 OUT EFI_SMBIOS_HANDLE *SmbiosHandle
168 );
169
181EFIAPI
183 OUT EFI_SMBIOS_HANDLE SmbiosHandle
184 );
185
186#endif
UINT64 UINTN
UINT8 SMBIOS_TABLE_STRING
Definition: SmBios.h:208
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
SMBIOS_STRUCTURE *EFIAPI SmbiosLibGetRecord(IN EFI_SMBIOS_TYPE Type, IN UINTN Instance, OUT EFI_SMBIOS_HANDLE *SmbiosHandle)
Definition: SmbiosLib.c:278
EFI_SMBIOS_PROTOCOL * gSmbios
Definition: SmbiosLib.c:21
EFI_STATUS EFIAPI SmbiosLibRemove(OUT EFI_SMBIOS_HANDLE SmbiosHandle)
Definition: SmbiosLib.c:316
EFI_STATUS EFIAPI SmbiosLibCreateEntry(IN SMBIOS_STRUCTURE *SmbiosEntry, IN CHAR8 **StringArray)
Definition: SmbiosLib.c:83
EFI_STATUS EFIAPI SmbiosLibInitializeFromTemplate(IN SMBIOS_TEMPLATE_ENTRY *Template)
Definition: SmbiosLib.c:34
EFI_STATUS EFIAPI SmbiosLibUpdateString(IN EFI_SMBIOS_HANDLE SmbiosHandle, IN SMBIOS_TABLE_STRING StringNumber, IN CHAR8 *String)
Definition: SmbiosLib.c:161
CHAR8 *EFIAPI SmbiosLibReadString(IN SMBIOS_STRUCTURE *Header, IN EFI_SMBIOS_STRING StringNumber)
Definition: SmbiosLib.c:243
EFI_STATUS EFIAPI SmbiosLibUpdateUnicodeString(IN EFI_SMBIOS_HANDLE SmbiosHandle, IN SMBIOS_TABLE_STRING StringNumber, IN CHAR16 *String)
Definition: SmbiosLib.c:199
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29