coreboot-kgpe-d16/util/cbfstool
Ricardo Quesada 683b294d3f elogtool: add "add" command
Adds "add" command to elogtool. This command allows adding elog events
manually. It supports event type and, optionally, event data.

If the free buffer space is < 1/4 of the total space, it shrinks the
buffer, making sure that ~1/4 of the free space is available.

BUG=b:172210863
TEST=./elogtool add 0x17 0101
     ./elogtool add 0x18
     Repeated the same tests on buffers that needed to be shrunk.

Change-Id: Ia6fdf4f951565f842d1bff52173811b52f617f66
Signed-off-by: Ricardo Quesada <ricardoq@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57397
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
2021-09-16 17:28:16 +00:00
..
console
flashmap
lz4
lzma
.gitignore elogtool: add to gitignore 2021-08-09 15:02:36 +00:00
EXAMPLE
Makefile util/elogtool: add tool to print elog events 2021-08-05 22:00:35 +00:00
Makefile.inc util/elogtool: add tool to print elog events 2021-08-05 22:00:35 +00:00
ProcessorBind.h
amdcompress.c
cbfs-mkpayload.c util/cbftool: Fix the bug in parsing Uefipayload with extended header 2021-09-02 06:07:08 +00:00
cbfs-mkstage.c cbfstool/cbfs-mkstage.c: Change signature of parse_elf_to_xip_stage() 2021-07-01 15:22:08 +00:00
cbfs-payload-linux.c
cbfs.h
cbfs_glue.h
cbfs_image.c
cbfs_image.h
cbfs_sections.c
cbfs_sections.h
cbfscomptool.c
cbfstool.c util/cbfstool: Remove unused pagesize parameter 2021-07-17 13:45:45 +00:00
coff.h
common.c
common.h cbfstool: add buffer_end() to common.h 2021-08-31 21:18:18 +00:00
compress.c
default-x86.fmd
default.fmd
description.md
elf.h
elfheaders.c
elfparsing.h
elogtool.c elogtool: add "add" command 2021-09-16 17:28:16 +00:00
eventlog.c elogtool: add "clear" command 2021-09-10 22:53:05 +00:00
eventlog.h elogtool: add "clear" command 2021-09-10 22:53:05 +00:00
fdt.h
fit.c
fit.h
flashmap_tests.c
fmap_from_fmd.c
fmap_from_fmd.h
fmaptool.c
fmd.c
fmd.h
fmd_parser.c_shipped
fmd_parser.h_shipped
fmd_parser.y
fmd_scanner.c_shipped
fmd_scanner.h_shipped
fmd_scanner.l
fv.h util/cbftool: Fix the bug in parsing Uefipayload with extended header 2021-09-02 06:07:08 +00:00
ifittool.c
ifwitool.c
linux.h
linux_trampoline.S
linux_trampoline.c
linux_trampoline.h
option.h
partitioned_file.c
partitioned_file.h
platform_fixups.c
rmodtool.c
rmodule.c
rmodule.h
swab.h
xdr.c