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:
Родитель
db7fcc2906
Коммит
18937fe651
|
@ -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
|
||||
);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче