TianoCore EDK2 master
Loading...
Searching...
No Matches
ArmDynamicTableManager.c
Go to the documentation of this file.
1
10#include <Library/DebugLib.h>
11#include <Library/PcdLib.h>
14#include <Protocol/AcpiTable.h>
15
16// Module specific include files.
17#include <AcpiTableGenerator.h>
25
39};
40
51EFIAPI
53 OUT ACPI_TABLE_PRESENCE_INFO **PresenceArray,
54 OUT UINT32 *PresenceArrayCount,
55 OUT INT32 *FadtIndex
56 )
57{
58 *PresenceArray = mAcpiVerifyTables;
59 *PresenceArrayCount = ARRAY_SIZE (mAcpiVerifyTables);
60 *FadtIndex = ACPI_TABLE_VERIFY_FADT;
61
62 return EFI_SUCCESS;
63}
#define EFI_ACPI_6_2_FIXED_ACPI_DESCRIPTION_TABLE_SIGNATURE
Definition: Acpi62.h:2736
#define EFI_ACPI_6_2_GENERIC_TIMER_DESCRIPTION_TABLE_SIGNATURE
Definition: Acpi62.h:2751
#define EFI_ACPI_6_2_DEBUG_PORT_2_TABLE_SIGNATURE
Definition: Acpi62.h:2851
#define EFI_ACPI_6_2_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_SIGNATURE
Definition: Acpi62.h:2936
#define EFI_ACPI_6_2_MULTIPLE_APIC_DESCRIPTION_TABLE_SIGNATURE
Definition: Acpi62.h:2696
#define EFI_ACPI_6_2_DIFFERENTIATED_SYSTEM_DESCRIPTION_TABLE_SIGNATURE
Definition: Acpi62.h:2716
@ EStdAcpiTableIdFadt
FADT Generator.
@ EStdAcpiTableIdSpcr
SPCR Generator.
@ EStdAcpiTableIdMadt
MADT Generator.
@ EStdAcpiTableIdDbg2
DBG2 Generator.
@ EStdAcpiTableIdGtdt
GTDT Generator.
@ EStdAcpiTableIdDsdt
DSDT Generator.
STATIC ACPI_TABLE_PRESENCE_INFO mAcpiVerifyTables[]
EFI_STATUS EFIAPI GetAcpiTablePresenceInfo(OUT ACPI_TABLE_PRESENCE_INFO **PresenceArray, OUT UINT32 *PresenceArrayCount, OUT INT32 *FadtIndex)
#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 FALSE
Definition: Base.h:307
#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