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"