Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/28054
Change subject: util/autoport: Adapt logmaker for newer ACPI versions ......................................................................
util/autoport: Adapt logmaker for newer ACPI versions
acpidump now creates dumps with 4 spaces instead of 2 in front of the hex dump.
Change-Id: I8d48c09cdff9432f394b350540ea9765fc942781 Signed-off-by: Arthur Heymans arthur@aheymans.xyz --- M util/autoport/log_reader.go 1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/54/28054/1
diff --git a/util/autoport/log_reader.go b/util/autoport/log_reader.go index c94d182..a356f97 100644 --- a/util/autoport/log_reader.go +++ b/util/autoport/log_reader.go @@ -112,6 +112,9 @@ Tables[curTable] = make([]byte, 0, 100000) case len(line) > 7 && line[0:2] == " " && isXDigit(line[2]) && isXDigit(line[3]) && isXDigit(line[4]) && isXDigit(line[5]) && line[6] == ':': Tables[curTable] = l.AssignHexLine(line, Tables[curTable]) + /* acpidump has 4 spaces on newer versions */ + case len(line) > 7 && line[0:4] == " " && isXDigit(line[4]) && isXDigit(line[5]) && isXDigit(line[6]) && isXDigit(line[7]) && line[8] == ':': + Tables[curTable] = l.AssignHexLine(line, Tables[curTable]) } }