aboutsummaryrefslogtreecommitdiff
path: root/src/vendorcode/amd/agesa/f10/Proc/CPU/cpuEventLog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vendorcode/amd/agesa/f10/Proc/CPU/cpuEventLog.c')
-rw-r--r--src/vendorcode/amd/agesa/f10/Proc/CPU/cpuEventLog.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vendorcode/amd/agesa/f10/Proc/CPU/cpuEventLog.c b/src/vendorcode/amd/agesa/f10/Proc/CPU/cpuEventLog.c
index 3c41f5dcda..4c70418eb6 100644
--- a/src/vendorcode/amd/agesa/f10/Proc/CPU/cpuEventLog.c
+++ b/src/vendorcode/amd/agesa/f10/Proc/CPU/cpuEventLog.c
@@ -199,6 +199,9 @@ PutEventLog (
UINT16 Index;
AGESA_STRUCT_BUFFER *AgesaEventAlloc;
+ if (EventClass < AGESA_STATUS_LOG_LEVEL)
+ return;
+
AgesaEventAlloc = NULL;
GetEventLogHeapPointer (&AgesaEventAlloc, StdHeader);
ASSERT (AgesaEventAlloc != NULL);