Xiang Wang has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/31383
Change subject: lb_tables: make lb_record_version_timestamp record sizes 64-bit aligned ......................................................................
lb_tables: make lb_record_version_timestamp record sizes 64-bit aligned
They were sized to 32-bit algnment, this grows them to 64 bit-aligned
Change-Id: Id401ed7ac24d781329686cf0a339cf9e1ea15130 Signed-off-by: Xiang Wang wxjstz@126.com --- M src/lib/coreboot_table.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/83/31383/1
diff --git a/src/lib/coreboot_table.c b/src/lib/coreboot_table.c index c2ae094..25d0afa 100644 --- a/src/lib/coreboot_table.c +++ b/src/lib/coreboot_table.c @@ -422,7 +422,7 @@ struct lb_timestamp *rec; rec = (struct lb_timestamp *)lb_new_record(header); rec->tag = LB_TAG_VERSION_TIMESTAMP; - rec->size = sizeof(*rec); + rec->size = ALIGN_UP(sizeof(*rec), 8); rec->timestamp = coreboot_version_timestamp; }
Xiang Wang has abandoned this change. ( https://review.coreboot.org/c/coreboot/+/31383 )
Change subject: lb_tables: make lb_record_version_timestamp record sizes 64-bit aligned ......................................................................
Abandoned