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>
15#include <Protocol/AcpiTable.h>
16
17// Module specific include files.
18#include <AcpiTableGenerator.h>
26
32};
33
44EFIAPI
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}
#define EFI_ACPI_6_2_FIXED_ACPI_DESCRIPTION_TABLE_SIGNATURE
Definition: Acpi62.h:2736
@ EStdAcpiTableIdFadt
FADT Generator.
#define ACPI_TABLE_VERIFY_FADT
The FADT table must be placed at index 0 in mAcpiVerifyTables.
#define STATIC
Definition: Base.h:264
#define TRUE
Definition: Base.h:301
#define ARRAY_SIZE(Array)
Definition: Base.h:1393
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
#define EFI_SUCCESS
Definition: UefiBaseType.h:112
STATIC ACPI_TABLE_PRESENCE_INFO mAcpiVerifyTables[]
EFI_STATUS EFIAPI GetAcpiTablePresenceInfo(OUT ACPI_TABLE_PRESENCE_INFO **PresenceArray, OUT UINT32 *PresenceArrayCount, OUT INT32 *FadtIndex)