IntelSiliconPkg VTdDxe: Report status code for VTd error
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1273 Current code only uses DEBUG() for VTd error. This patch updates to also report status code for VTd error. Test done: Created case that has VTd error and confirmed the error status code could be reported as expected. Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Rangasai V Chaganty <rangasai.v.chaganty@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:
@@ -545,6 +545,7 @@ DumpVtdIfError (
|
||||
}
|
||||
|
||||
if (HasError) {
|
||||
REPORT_STATUS_CODE (EFI_ERROR_CODE, PcdGet32 (PcdErrorCodeVTdError));
|
||||
DEBUG((DEBUG_INFO, "\n#### ERROR ####\n"));
|
||||
DumpVtdRegs (Num);
|
||||
DEBUG((DEBUG_INFO, "#### ERROR ####\n\n"));
|
||||
|
Reference in New Issue
Block a user