IntelSiliconPkg IntelVTdDxe: use gEfiAcpi10TableGuid for ACPI 1.0

According to definition (Acpi.h and MdePkg.dec),
gEfiAcpiTableGuid = gEfiAcpi20TableGuid, and the code is trying
to parse ACPI 2.0 first and then ACPI 1.0, but it uses
gEfiAcpiTableGuid wrongly for ACPI 1.0, this patch is to fix it.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
This commit is contained in:
Star Zeng 2017-10-25 16:55:46 +08:00
parent ad1484c3c4
commit 118f1657b9
2 changed files with 2 additions and 2 deletions

View File

@ -996,7 +996,7 @@ GetDmarAcpiTable (
); );
if (EFI_ERROR (Status)) { if (EFI_ERROR (Status)) {
Status = EfiGetSystemConfigurationTable ( Status = EfiGetSystemConfigurationTable (
&gEfiAcpiTableGuid, &gEfiAcpi10TableGuid,
&AcpiTable &AcpiTable
); );
} }

View File

@ -64,7 +64,7 @@
[Guids] [Guids]
gEfiEventExitBootServicesGuid ## CONSUMES ## Event gEfiEventExitBootServicesGuid ## CONSUMES ## Event
gEfiAcpi20TableGuid ## CONSUMES ## SystemTable gEfiAcpi20TableGuid ## CONSUMES ## SystemTable
gEfiAcpiTableGuid ## CONSUMES ## SystemTable gEfiAcpi10TableGuid ## CONSUMES ## SystemTable
[Protocols] [Protocols]
gEdkiiIoMmuProtocolGuid ## PRODUCES gEdkiiIoMmuProtocolGuid ## PRODUCES