mVtdHostAddressWidthMask is not been used at all,
its definition and related code could be removed.
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>
\r
extern EFI_ACPI_DMAR_HEADER *mAcpiDmarTable;\r
\r
-extern UINT64 mVtdHostAddressWidthMask;\r
extern UINTN mVtdUnitNumber;\r
extern VTD_UNIT_INFORMATION *mVtdUnitInformation;\r
\r
return EFI_OUT_OF_RESOURCES;\r
}\r
\r
- mVtdHostAddressWidthMask = LShiftU64 (1ull, mAcpiDmarTable->HostAddressWidth) - 1;\r
-\r
VtdIndex = 0;\r
DmarHeader = (EFI_ACPI_DMAR_STRUCTURE_HEADER *)((UINTN)(mAcpiDmarTable + 1));\r
while ((UINTN)DmarHeader < (UINTN)mAcpiDmarTable + mAcpiDmarTable->Header.Length) {\r
/** @file\r
\r
- Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2017 - 2018, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
\r
#include "DmaProtection.h"\r
\r
-UINT64 mVtdHostAddressWidthMask;\r
UINTN mVtdUnitNumber;\r
VTD_UNIT_INFORMATION *mVtdUnitInformation;\r
\r