TianoCore EDK2
master
Loading...
Searching...
No Matches
X64DynamicTableManager.c
Go to the documentation of this file.
1
11
#include <
Library/DebugLib.h
>
12
#include <
Library/PcdLib.h
>
13
#include <
Library/UefiBootServicesTableLib.h
>
14
#include <
Protocol/AcpiSystemDescriptionTable.h
>
15
#include <
Protocol/AcpiTable.h
>
16
17
// Module specific include files.
18
#include <
AcpiTableGenerator.h
>
19
#include <
ConfigurationManagerObject.h
>
20
#include <
ConfigurationManagerHelper.h
>
21
#include <
DeviceTreeTableGenerator.h
>
22
#include <
Library/TableHelperLib.h
>
23
#include <
Protocol/ConfigurationManagerProtocol.h
>
24
#include <
Protocol/DynamicTableFactoryProtocol.h
>
25
#include "
DynamicTableManagerDxe.h
"
26
30
STATIC
ACPI_TABLE_PRESENCE_INFO
mAcpiVerifyTables
[] = {
31
{
EStdAcpiTableIdFadt
,
EFI_ACPI_6_2_FIXED_ACPI_DESCRIPTION_TABLE_SIGNATURE
,
"FADT"
,
TRUE
, 0 }
32
};
33
43
EFI_STATUS
44
EFIAPI
45
GetAcpiTablePresenceInfo
(
46
OUT
ACPI_TABLE_PRESENCE_INFO
**PresenceArray,
47
OUT
UINT32 *PresenceArrayCount,
48
OUT
INT32 *FadtIndex
49
)
50
{
51
*PresenceArray =
mAcpiVerifyTables
;
52
*PresenceArrayCount =
ARRAY_SIZE
(
mAcpiVerifyTables
);
53
*FadtIndex =
ACPI_TABLE_VERIFY_FADT
;
54
55
return
EFI_SUCCESS
;
56
}
EFI_ACPI_6_2_FIXED_ACPI_DESCRIPTION_TABLE_SIGNATURE
#define EFI_ACPI_6_2_FIXED_ACPI_DESCRIPTION_TABLE_SIGNATURE
Definition:
Acpi62.h:2736
AcpiSystemDescriptionTable.h
AcpiTableGenerator.h
EStdAcpiTableIdFadt
@ EStdAcpiTableIdFadt
FADT Generator.
Definition:
AcpiTableGenerator.h:95
ConfigurationManagerHelper.h
ConfigurationManagerObject.h
ConfigurationManagerProtocol.h
DeviceTreeTableGenerator.h
DynamicTableFactoryProtocol.h
DynamicTableManagerDxe.h
ACPI_TABLE_VERIFY_FADT
#define ACPI_TABLE_VERIFY_FADT
The FADT table must be placed at index 0 in mAcpiVerifyTables.
Definition:
DynamicTableManagerDxe.h:25
STATIC
#define STATIC
Definition:
Base.h:264
TRUE
#define TRUE
Definition:
Base.h:301
ARRAY_SIZE
#define ARRAY_SIZE(Array)
Definition:
Base.h:1393
OUT
#define OUT
Definition:
Base.h:284
DebugLib.h
AcpiTable.h
PcdLib.h
TableHelperLib.h
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:29
EFI_SUCCESS
#define EFI_SUCCESS
Definition:
UefiBaseType.h:112
UefiBootServicesTableLib.h
mAcpiVerifyTables
STATIC ACPI_TABLE_PRESENCE_INFO mAcpiVerifyTables[]
Definition:
X64DynamicTableManager.c:30
GetAcpiTablePresenceInfo
EFI_STATUS EFIAPI GetAcpiTablePresenceInfo(OUT ACPI_TABLE_PRESENCE_INFO **PresenceArray, OUT UINT32 *PresenceArrayCount, OUT INT32 *FadtIndex)
Definition:
X64DynamicTableManager.c:45
ACPI_TABLE_PRESENCE_INFO
Definition:
DynamicTableManagerDxe.h:31
DynamicTablesPkg
Drivers
DynamicTableManagerDxe
X64
X64DynamicTableManager.c
Generated on Fri Nov 15 2024 18:01:06 for TianoCore EDK2 by
1.9.6