<div dir="ltr">riscv is taking alignment traps reading cbfs.<div><br></div><div>The issue is that 64-bit fields are 32-bit aligned, which fails many places.</div><div><br></div><div>Thaminda found this comment: </div><div><br></div><div><div style="font-size:13.1999998092651px;line-height:19.7999992370605px">  * Since coreboot is usually compiled 32bit, gcc will align 64bit</div><div style="font-size:13.1999998092651px;line-height:19.7999992370605px"> * types to 32bit boundaries. If the coreboot table is dumped on a</div><div style="font-size:13.1999998092651px;line-height:19.7999992370605px"> * 64bit system, a uint64_t would be aligned to 64bit boundaries,</div><div style="font-size:13.1999998092651px;line-height:19.7999992370605px"> * breaking the table format.</div></div><div style="font-size:13.1999998092651px;line-height:19.7999992370605px"><br></div><div style="font-size:13.1999998092651px;line-height:19.7999992370605px">this is a real problem. Would have broken badly on Alpha, and breaks badly on RISCV. </div><div style="font-size:13.1999998092651px;line-height:19.7999992370605px"><br></div><div style="font-size:13.1999998092651px;line-height:19.7999992370605px">We can fix it, with an ugly macro, but ... what's the right move here?</div><div style="font-size:13.1999998092651px;line-height:19.7999992370605px"><br></div><div style="font-size:13.1999998092651px;line-height:19.7999992370605px">ron</div></div>