diff options
Diffstat (limited to 'src')
6 files changed, 18 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); diff --git a/src/vendorcode/amd/agesa/f12/Proc/CPU/cpuEventLog.c b/src/vendorcode/amd/agesa/f12/Proc/CPU/cpuEventLog.c index f8025427a7..7df57641e1 100644 --- a/src/vendorcode/amd/agesa/f12/Proc/CPU/cpuEventLog.c +++ b/src/vendorcode/amd/agesa/f12/Proc/CPU/cpuEventLog.c @@ -213,6 +213,9 @@ PutEventLog ( (EventClass == AGESA_UNSUPPORTED) ? "UNSUPPORTED" : "SUCCESS", EventInfo, DataParam1, DataParam2, DataParam3, DataParam4); + if (EventClass < AGESA_STATUS_LOG_LEVEL) + return; + AgesaEventAlloc = NULL; GetEventLogHeapPointer (&AgesaEventAlloc, StdHeader); ASSERT (AgesaEventAlloc != NULL); diff --git a/src/vendorcode/amd/agesa/f14/Proc/CPU/cpuEventLog.c b/src/vendorcode/amd/agesa/f14/Proc/CPU/cpuEventLog.c index e0ad3c6330..74a72a914e 100644 --- a/src/vendorcode/amd/agesa/f14/Proc/CPU/cpuEventLog.c +++ b/src/vendorcode/amd/agesa/f14/Proc/CPU/cpuEventLog.c @@ -216,6 +216,9 @@ PutEventLog ( (EventClass == AGESA_UNSUPPORTED) ? "UNSUPPORTED" : "SUCCESS", EventInfo, DataParam1, DataParam2, DataParam3, DataParam4); + if (EventClass < AGESA_STATUS_LOG_LEVEL) + return; + AgesaEventAlloc = NULL; GetEventLogHeapPointer (&AgesaEventAlloc, StdHeader); ASSERT (AgesaEventAlloc != NULL); diff --git a/src/vendorcode/amd/agesa/f15/Proc/CPU/cpuEventLog.c b/src/vendorcode/amd/agesa/f15/Proc/CPU/cpuEventLog.c index 98d818c3de..1810764431 100644 --- a/src/vendorcode/amd/agesa/f15/Proc/CPU/cpuEventLog.c +++ b/src/vendorcode/amd/agesa/f15/Proc/CPU/cpuEventLog.c @@ -214,6 +214,9 @@ PutEventLog ( (EventClass == AGESA_UNSUPPORTED) ? "UNSUPPORTED" : "SUCCESS", EventInfo, DataParam1, DataParam2, DataParam3, DataParam4); + if (EventClass < AGESA_STATUS_LOG_LEVEL) + return; + AgesaEventAlloc = NULL; GetEventLogHeapPointer (&AgesaEventAlloc, StdHeader); ASSERT (AgesaEventAlloc != NULL); diff --git a/src/vendorcode/amd/agesa/f15tn/Proc/CPU/cpuEventLog.c b/src/vendorcode/amd/agesa/f15tn/Proc/CPU/cpuEventLog.c index f73f50b777..169de7d8f8 100644 --- a/src/vendorcode/amd/agesa/f15tn/Proc/CPU/cpuEventLog.c +++ b/src/vendorcode/amd/agesa/f15tn/Proc/CPU/cpuEventLog.c @@ -213,6 +213,9 @@ PutEventLog ( (EventClass == AGESA_UNSUPPORTED) ? "UNSUPPORTED" : "SUCCESS", EventInfo, DataParam1, DataParam2, DataParam3, DataParam4); + if (EventClass < AGESA_STATUS_LOG_LEVEL) + return; + AgesaEventAlloc = NULL; GetEventLogHeapPointer (&AgesaEventAlloc, StdHeader); ASSERT (AgesaEventAlloc != NULL); diff --git a/src/vendorcode/amd/agesa/f16kb/Proc/CPU/cpuEventLog.c b/src/vendorcode/amd/agesa/f16kb/Proc/CPU/cpuEventLog.c index 4b6a9f9fb9..ad3fa397be 100644 --- a/src/vendorcode/amd/agesa/f16kb/Proc/CPU/cpuEventLog.c +++ b/src/vendorcode/amd/agesa/f16kb/Proc/CPU/cpuEventLog.c @@ -213,6 +213,9 @@ PutEventLog ( (EventClass == AGESA_UNSUPPORTED) ? "UNSUPPORTED" : "SUCCESS", EventInfo, DataParam1, DataParam2, DataParam3, DataParam4); + if (EventClass < AGESA_STATUS_LOG_LEVEL) + return; + AgesaEventAlloc = NULL; GetEventLogHeapPointer (&AgesaEventAlloc, StdHeader); ASSERT (AgesaEventAlloc != NULL); |