TianoCore EDK2 master
Loading...
Searching...
No Matches
CloudHv.c
Go to the documentation of this file.
1
7#include <IndustryStandard/CloudHv.h> // CLOUDHV_SMBIOS_ADDRESS
8#include <IndustryStandard/SmBios.h> // SMBIOS_TABLE_3_0_ENTRY_POINT
9
16UINT8 *
18 VOID
19 )
20{
21 SMBIOS_TABLE_3_0_ENTRY_POINT *CloudHvTables = (VOID *)CLOUDHV_SMBIOS_ADDRESS;
22
23 if ((CloudHvTables->AnchorString[0] == '_') &&
24 (CloudHvTables->AnchorString[1] == 'S') &&
25 (CloudHvTables->AnchorString[2] == 'M') &&
26 (CloudHvTables->AnchorString[3] == '3') &&
27 (CloudHvTables->AnchorString[4] == '_'))
28 {
29 return (UINT8 *)(UINTN)CloudHvTables->TableAddress;
30 }
31
32 return NULL;
33}
UINT64 UINTN
UINT8 * GetCloudHvSmbiosTables(VOID)
Definition: CloudHv.c:17
#define NULL
Definition: Base.h:319