<p>Arthur Heymans has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/28054">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">util/autoport: Adapt logmaker for newer ACPI versions<br><br>acpidump now creates dumps with 4 spaces instead of 2 in front of the hex dump.<br><br>Change-Id: I8d48c09cdff9432f394b350540ea9765fc942781<br>Signed-off-by: Arthur Heymans <arthur@aheymans.xyz><br>---<br>M util/autoport/log_reader.go<br>1 file changed, 3 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/54/28054/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/util/autoport/log_reader.go b/util/autoport/log_reader.go</span><br><span>index c94d182..a356f97 100644</span><br><span>--- a/util/autoport/log_reader.go</span><br><span>+++ b/util/autoport/log_reader.go</span><br><span>@@ -112,6 +112,9 @@</span><br><span>                       Tables[curTable] = make([]byte, 0, 100000)</span><br><span>           case len(line) > 7 && line[0:2] == "  " && isXDigit(line[2]) && isXDigit(line[3]) && isXDigit(line[4]) && isXDigit(line[5]) && line[6] == ':':</span><br><span>                  Tables[curTable] = l.AssignHexLine(line, Tables[curTable])</span><br><span style="color: hsl(120, 100%, 40%);">+            /* acpidump has 4 spaces on newer versions */</span><br><span style="color: hsl(120, 100%, 40%);">+         case len(line) > 7 && line[0:4] == "    " && isXDigit(line[4]) && isXDigit(line[5]) && isXDigit(line[6]) && isXDigit(line[7]) && line[8] == ':':</span><br><span style="color: hsl(120, 100%, 40%);">+                 Tables[curTable] = l.AssignHexLine(line, Tables[curTable])</span><br><span>           }</span><br><span>    }</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/28054">change 28054</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/28054"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I8d48c09cdff9432f394b350540ea9765fc942781 </div>
<div style="display:none"> Gerrit-Change-Number: 28054 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Arthur Heymans <arthur@aheymans.xyz> </div>