1
0
Fork 0
mirror of https://github.com/tailix/libkernaux.git synced 2024-11-27 11:14:42 -05:00

Print Multiboot 2 ELF symbols tag

This commit is contained in:
Alex Kotov 2020-11-29 19:25:35 +05:00
parent a99eba08bc
commit e9701020ac
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08
2 changed files with 9 additions and 0 deletions

View file

@ -308,5 +308,10 @@ void KernAux_Multiboot2_Tag_ELFSymbols_print(
return;
}
print(" num: %hu\n", tag->num);
print(" entsize: %hu\n", tag->ent_size);
print(" shndx: %hu\n", tag->shndx);
print(" reserved1: %hu\n", tag->reserved1);
// TODO: implement this
}

View file

@ -82,6 +82,10 @@ static const char output1[] =
"Multiboot 2 tag\n"
" type: 9 (ELF symbols)\n"
" size: 420\n"
" num: 10\n"
" entsize: 0\n"
" shndx: 40\n"
" reserved1: 0\n"
"Multiboot 2 tag\n"
" type: 4 (basic memory info)\n"
" size: 16\n"