summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Bottomley <JBottomley@Parallels.com>2015-01-25 10:29:25 -0800
committerJames Bottomley <JBottomley@Parallels.com>2015-01-25 10:29:25 -0800
commit116c84d551b121fb8098fa000bfec4af260ade60 (patch)
tree9f1c7ecb4d775d98c0c5f3f0dfa6198fdec47f0b
parentc442cc558c25bbfdac20de8367c58c7eb1f1af0e (diff)
downloadQuark_EDKII-116c84d551b121fb8098fa000bfec4af260ade60.tar.gz
Add a recogniseable message when the platform hits an assert
Simply rebooting doesn't give much of a clue in the logs. Signed-off-by: James Bottomley <JBottomley@Parallels.com>
-rwxr-xr-xQuarkSocPkg/Override/MdePkg/Library/BaseLib/CpuDeadLoop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/QuarkSocPkg/Override/MdePkg/Library/BaseLib/CpuDeadLoop.c b/QuarkSocPkg/Override/MdePkg/Library/BaseLib/CpuDeadLoop.c
index 2653ae5..7895031 100755
--- a/QuarkSocPkg/Override/MdePkg/Library/BaseLib/CpuDeadLoop.c
+++ b/QuarkSocPkg/Override/MdePkg/Library/BaseLib/CpuDeadLoop.c
@@ -63,6 +63,7 @@ CpuDeadLoop (
{
volatile UINTN Index;
+ DEBUG((EFI_D_ERROR,"\n\nCPU DEAD LOOP\n\n"));
OemInitiateRecovery();
for (Index = 0; Index == 0;);
}