Skip to content

Commit

Permalink
use SEL4_BI_FRAME_SIZE
Browse files Browse the repository at this point in the history
Signed-off-by: Axel Heider <axelheider@gmx.de>
  • Loading branch information
axel-h committed May 24, 2022
1 parent 5704cbd commit a8b3d4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libsel4debug/src/bootinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ void debug_print_bootinfo(seL4_BootInfo *info)
printf("Extra boot info blobs:\n");
seL4_Word offs = 0;
while (offs < info->extraLen) {
seL4_BootInfoHeader *h = (seL4_BootInfoHeader *)((seL4_Word)info + 4096 + offs);
seL4_BootInfoHeader *h = (seL4_BootInfoHeader *)((seL4_Word)info + SEL4_BI_FRAME_SIZE + offs);
printf(" type: %"SEL4_PRIu_word", offset: %"SEL4_PRIu_word", len: %"SEL4_PRIu_word"\n",
h->id, offs, h->len);
offs += h->len;
Expand Down

0 comments on commit a8b3d4f

Please sign in to comment.