mirror of https://github.com/tailix/libkernaux.git
Print Multiboot 2 APM table tag
This commit is contained in:
parent
8607858df7
commit
d73dd585de
|
@ -182,6 +182,18 @@ void KernAux_Multiboot2_TagBase_print(
|
|||
break;
|
||||
case KERNAUX_MULTIBOOT2_TAGTYPE_APM_TABLE:
|
||||
{
|
||||
const struct KernAux_Multiboot2_Tag_APMTable *const tag_apm =
|
||||
(struct KernAux_Multiboot2_Tag_APMTable*)tag_base;
|
||||
|
||||
print(" version: %hu\n", tag_apm->version);
|
||||
print(" cseg: %hu\n", tag_apm->cseg);
|
||||
print(" offset: %u\n", tag_apm->offset);
|
||||
print(" cseg 16: %hu\n", tag_apm->cseg_16);
|
||||
print(" dseg: %hu\n", tag_apm->dseg);
|
||||
print(" flags: %hu\n", tag_apm->flags);
|
||||
print(" cseg len: %hu\n", tag_apm->cseg_len);
|
||||
print(" cseg 16 len: %hu\n", tag_apm->cseg_16_len);
|
||||
print(" dseg len: %hu\n", tag_apm->dseg_len);
|
||||
}
|
||||
break;
|
||||
case KERNAUX_MULTIBOOT2_TAGTYPE_EFI_32BIT_SYSTEM_TABLE_PTR:
|
||||
|
|
|
@ -22,6 +22,15 @@ static const char output[] =
|
|||
"Multiboot 2 tag\n"
|
||||
" type: 10 (APM table)\n"
|
||||
" size: 28\n"
|
||||
" version: 258\n"
|
||||
" cseg: 61440\n"
|
||||
" offset: 54479\n"
|
||||
" cseg 16: 61440\n"
|
||||
" dseg: 61440\n"
|
||||
" flags: 3\n"
|
||||
" cseg len: 65520\n"
|
||||
" cseg 16 len: 65520\n"
|
||||
" dseg len: 65520\n"
|
||||
"Multiboot 2 tag\n"
|
||||
" type: 3 (module)\n"
|
||||
" size: 29\n"
|
||||
|
|
Loading…
Reference in New Issue