TianoCore EDK2 master
|
Go to the source code of this file.
Data Structures | |
struct | SMBIOS_MISC_DATA_TABLE |
struct | _SMBIOS_TYPE13_BIOS_LANGUAGE_INFORMATION_STRING |
Macros | |
#define | SMBIOS_MISC_TABLE_EXTERNS(NAME1, NAME2, NAME3) |
#define | SMBIOS_MISC_TABLE_ENTRY_DATA_AND_FUNCTION(NAME1, NAME2) |
#define | SMBIOS_MISC_TABLE_DATA(NAME1, NAME2) NAME1 NAME2 ## Data |
#define | SMBIOS_MISC_TABLE_FUNCTION(NAME2) |
Typedefs | |
typedef IN EFI_SMBIOS_PROTOCOL * | Smbios |
typedef struct _SMBIOS_TYPE13_BIOS_LANGUAGE_INFORMATION_STRING | SMBIOS_TYPE13_BIOS_LANGUAGE_INFORMATION_STRING |
Functions | |
typedef | EFI_STATUS (EFIAPI SMBIOS_MISC_DATA_FUNCTION)(IN VOID *RecordData |
EFI_STATUS | SmbiosMiscAddRecord (IN UINT8 *Buffer, IN OUT EFI_SMBIOS_HANDLE *SmbiosHandle OPTIONAL) |
VOID | SmbiosMiscGetLinkTypeHandle (IN UINT8 SmbiosType, OUT UINT16 **HandleArray, OUT UINTN *HandleCount) |
Variables | |
EFI_HII_HANDLE | mSmbiosMiscHiiHandle |
SMBIOS_MISC_DATA_TABLE | mSmbiosMiscDataTable [] |
UINTN | mSmbiosMiscDataTableEntries |
UINT8 | mSmbiosMiscDxeStrings [] |
Header file for the SmbiosMisc Driver.
Based on files under Nt32Pkg/MiscSubClassPlatformDxe/
Copyright (c) 2021, NUVIA Inc. All rights reserved.
Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.
Copyright (c) 2015, Hisilicon Limited. All rights reserved.
Copyright (c) 2015, Linaro Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file SmbiosMisc.h.
#define SMBIOS_MISC_TABLE_DATA | ( | NAME1, | |
NAME2 | |||
) | NAME1 NAME2 ## Data |
Definition at line 61 of file SmbiosMisc.h.
#define SMBIOS_MISC_TABLE_ENTRY_DATA_AND_FUNCTION | ( | NAME1, | |
NAME2 | |||
) |
Definition at line 52 of file SmbiosMisc.h.
#define SMBIOS_MISC_TABLE_EXTERNS | ( | NAME1, | |
NAME2, | |||
NAME3 | |||
) |
Definition at line 42 of file SmbiosMisc.h.
#define SMBIOS_MISC_TABLE_FUNCTION | ( | NAME2 | ) |
Definition at line 64 of file SmbiosMisc.h.
typedef IN EFI_SMBIOS_PROTOCOL* Smbios |
Definition at line 25 of file SmbiosMisc.h.
EFI_STATUS SmbiosMiscAddRecord | ( | IN UINT8 * | Buffer, |
IN OUT EFI_SMBIOS_HANDLE *SmbiosHandle | OPTIONAL | ||
) |
Adds an SMBIOS record.
Buffer | The data for the SMBIOS record. The format of the record is determined by EFI_SMBIOS_TABLE_HEADER.Type. The size of the formatted area is defined by EFI_SMBIOS_TABLE_HEADER.Length and either followed by a double-null (0x0000) or a set of null terminated strings and a null. |
SmbiosHandle | A unique handle will be assigned to the SMBIOS record if not NULL. |
EFI_SUCCESS | Record was added. |
EFI_OUT_OF_RESOURCES | Record was not added due to lack of system resources. |
EFI_ALREADY_STARTED | The SmbiosHandle passed in was already in use. |
Definition at line 115 of file SmbiosMiscEntryPoint.c.
VOID SmbiosMiscGetLinkTypeHandle | ( | IN UINT8 | SmbiosType, |
OUT SMBIOS_HANDLE ** | HandleArray, | ||
OUT UINTN * | HandleCount | ||
) |
Get Link Type Handle.
[in] | SmbiosType | Get this Type from SMBIOS table |
[out] | HandleArray | Pointer to handle array which will be freed by caller |
[out] | HandleCount | Pointer to handle count |
Fetches a list of the specified SMBIOS table types.
[in] | SmbiosType | The type of table to fetch |
[out] | **HandleArray | The array of handles |
[out] | *HandleCount | Number of handles in the array |
Definition at line 189 of file SmbiosMiscEntryPoint.c.
|
extern |
Definition at line 83 of file SmbiosMiscDataTable.c.
|
extern |
Definition at line 27 of file SmbiosMiscEntryPoint.c.