Skip to content

Commit

Permalink
Create a utility to add/remove entries from a link list within a give…
Browse files Browse the repository at this point in the history
…n buffer

This buffer is designed to be used in a runtime environment.

I am laying the ground work for an over arching story that will
save traces in a buffer for future consumption.

For this commit, I have created the methods necessary to add, remove and find
available space (for an Entry) in a buffer bound region of memory using a
circular, doubly linked list.

Change-Id: I259bb0f6051611a17b7b919bf026919ffdb12eb1
RTC: 191303
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59575
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: Prachi Gupta <pragupta@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
  • Loading branch information
velozr authored and dcrowell77 committed Jun 19, 2018
1 parent 1ec6201 commit 0189e34
Show file tree
Hide file tree
Showing 7 changed files with 2,808 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/usr/trace/runtime/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ HOSTBOOT_RUNTIME = 1
ROOTPATH = ../../../..
MODULE = trace_rt

SUBDIRS += test.d
EXTRAINCDIR +=${ROOTPATH}/src/usr

OBJS += interface.o
OBJS += assert.o
Expand All @@ -43,4 +43,6 @@ OBJS += rt_rsvdtracebufservice.o
VPATH += ..
VPATH += ../daemon

SUBDIRS += test.d

include $(ROOTPATH)/config.mk

0 comments on commit 0189e34

Please sign in to comment.