IntelSiliconPkg/VTd: Fix to support IntelVTdDmarPei in 64bit

REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3836
Changed VtdIndex defined in PROCESS_DRHD_CALLBACK_FUNC from UINT32 to UINTN
to avoid type incompatible error when enable PEI in 64bit.

Cc: Sheng Wei <w.sheng@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Cc: Rangasai V Chaganty <rangasai.v.chaganty@intel.com>
Cc: Jenny Huang <jenny.huang@intel.com>
Reviewed-by: Robert Kowalewski <robert.kowalewski@intel.com>
Reviewed-by: Sheng Wei <w.sheng@intel.com>
Signed-off-by: Ted Kuo <ted.kuo@intel.com>
This commit is contained in:
Ted Kuo 2022-02-15 10:31:22 +08:00 коммит произвёл Ken Lautner
Родитель db7fcc2906
Коммит 18937fe651
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -434,7 +434,7 @@ GetVTdInfoHob (
VOID
ProcessDhrdPreMemory (
IN OUT VOID *Context,
IN UINT32 VTdIndex,
IN UINTN VTdIndex,
IN EFI_ACPI_DMAR_DRHD_HEADER *DmarDrhd
)
{
@ -454,7 +454,7 @@ ProcessDhrdPreMemory (
VOID
ProcessDrhdPostMemory (
IN OUT VOID *Context,
IN UINT32 VTdIndex,
IN UINTN VTdIndex,
IN EFI_ACPI_DMAR_DRHD_HEADER *DmarDrhd
)
{

Просмотреть файл

@ -49,7 +49,7 @@ typedef
VOID
(*PROCESS_DRHD_CALLBACK_FUNC) (
IN OUT VOID *Context,
IN UINT32 VTdIndex,
IN UINTN VTdIndex,
IN EFI_ACPI_DMAR_DRHD_HEADER *DmarDrhd
);