From 1ec6201b896c5cbc22fef03df1a063faa8cd6411 Mon Sep 17 00:00:00 2001 From: Sakethan R Kotta Date: Thu, 29 Mar 2018 07:10:59 -0500 Subject: HBRT Reserved Mem Trace Buffer implementation. -Hostboot master Drawer will create TRACEBUF section in the HB Rsvd Mem and HBRT, while booting, gets the TRACEBUF section details and initializes the circual buffer, if available. -If a valid data is present in the buffer, HBRT will create an info log ERRL, otherwise initializes the buffer. -Traces from all components are serialized and stored in the single TRACEBUF in the same format (fsp-binary Trace). When buffer is full, it deletes the oldest entry/entries to store the new ones. -ERRL->collectTrace() works similar to other buffers. -A new test case is added to dump the traces from TRACEBUF. Change-Id: I4ce943231a2ba30e3a13ca34d1c40ff68464a994 RTC:188726 RTC:191302 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56450 Reviewed-by: Prachi Gupta Reviewed-by: Daniel M. Crowell Tested-by: Daniel M. Crowell --- src/makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'src/makefile') diff --git a/src/makefile b/src/makefile index 5a278a265..d6a4cf944 100644 --- a/src/makefile +++ b/src/makefile @@ -317,6 +317,7 @@ RUNTIME_TESTCASE_MODULES += testsecureboot_rt RUNTIME_TESTCASE_MODULES += testtargeting_rt RUNTIME_TESTCASE_MODULES += testsbeio_rt RUNTIME_TESTCASE_MODULES += testpm_rt +RUNTIME_TESTCASE_MODULES += testrsvdtracebuf_rt RELOCATABLE_IMAGE_LDFLAGS = -pie --export-dynamic -- cgit v1.2.3