MapInfo->NumberOfPages,\r
TRUE\r
);\r
- ASSERT_EFI_ERROR(Status);\r
+ ASSERT_EFI_ERROR (Status);\r
+ if (EFI_ERROR (Status)) {\r
+ CpuDeadLoop ();\r
+ }\r
\r
//\r
// If this is a read operation from the Bus Master's point of view,\r
MapInfo->NumberOfPages,\r
TRUE\r
);\r
- ASSERT_EFI_ERROR(Status);\r
+ ASSERT_EFI_ERROR (Status);\r
+ if (EFI_ERROR (Status)) {\r
+ CpuDeadLoop ();\r
+ }\r
\r
//\r
// For BusMasterCommonBuffer[64] operations, copy the stashed data to the\r