mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-01 10:54:27 +02:00
Add support of ACPI Table Version 3.0 in implementation of EFI_ACPI_TABLE_PROTOCOL APIs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8125 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
1e4371671b
commit
46a989f7ad
@ -336,13 +336,13 @@ InstallAcpiTable (
|
|||||||
AcpiTableInstance,
|
AcpiTableInstance,
|
||||||
AcpiTableBufferConst,
|
AcpiTableBufferConst,
|
||||||
FALSE,
|
FALSE,
|
||||||
EFI_ACPI_TABLE_VERSION_1_0B | EFI_ACPI_TABLE_VERSION_2_0,
|
EFI_ACPI_TABLE_VERSION_1_0B | EFI_ACPI_TABLE_VERSION_2_0 | EFI_ACPI_TABLE_VERSION_3_0,
|
||||||
TableKey
|
TableKey
|
||||||
);
|
);
|
||||||
if (!EFI_ERROR (Status)) {
|
if (!EFI_ERROR (Status)) {
|
||||||
Status = PublishTables (
|
Status = PublishTables (
|
||||||
AcpiTableInstance,
|
AcpiTableInstance,
|
||||||
EFI_ACPI_TABLE_VERSION_1_0B | EFI_ACPI_TABLE_VERSION_2_0
|
EFI_ACPI_TABLE_VERSION_1_0B | EFI_ACPI_TABLE_VERSION_2_0 | EFI_ACPI_TABLE_VERSION_3_0
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
FreePool (AcpiTableBufferConst);
|
FreePool (AcpiTableBufferConst);
|
||||||
@ -383,13 +383,13 @@ UninstallAcpiTable (
|
|||||||
AcpiTableInstance,
|
AcpiTableInstance,
|
||||||
NULL,
|
NULL,
|
||||||
FALSE,
|
FALSE,
|
||||||
EFI_ACPI_TABLE_VERSION_1_0B | EFI_ACPI_TABLE_VERSION_2_0,
|
EFI_ACPI_TABLE_VERSION_1_0B | EFI_ACPI_TABLE_VERSION_2_0 | EFI_ACPI_TABLE_VERSION_3_0,
|
||||||
&TableKey
|
&TableKey
|
||||||
);
|
);
|
||||||
if (!EFI_ERROR (Status)) {
|
if (!EFI_ERROR (Status)) {
|
||||||
Status = PublishTables (
|
Status = PublishTables (
|
||||||
AcpiTableInstance,
|
AcpiTableInstance,
|
||||||
EFI_ACPI_TABLE_VERSION_1_0B | EFI_ACPI_TABLE_VERSION_2_0
|
EFI_ACPI_TABLE_VERSION_1_0B | EFI_ACPI_TABLE_VERSION_2_0 | EFI_ACPI_TABLE_VERSION_3_0
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user