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:
xli24 2009-04-17 08:46:05 +00:00
parent 1e4371671b
commit 46a989f7ad
1 changed files with 4 additions and 4 deletions

View File

@ -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
); );
} }