mirror of
https://github.com/tailix/libkernaux.git
synced 2025-02-17 15:45:32 -05:00
Add more Multiboot 2 tags to example data
This commit is contained in:
parent
b508e911a7
commit
05cb6f6288
1 changed files with 14 additions and 0 deletions
|
@ -92,6 +92,11 @@ static const struct {
|
|||
unsigned char data[8];
|
||||
} tag_acpi_new_rsdp;
|
||||
|
||||
struct {
|
||||
struct KernAux_Multiboot2_Tag_NetworkingInfo tag;
|
||||
unsigned char data[8];
|
||||
} tag_networking_info;
|
||||
|
||||
struct KernAux_Multiboot2_Tag_None tag_none;
|
||||
} multiboot2_example = {
|
||||
.multiboot2 = {
|
||||
|
@ -301,6 +306,15 @@ static const struct {
|
|||
},
|
||||
.data = {0, 0, 0, 0, 0, 0, 0, 0},
|
||||
},
|
||||
.tag_networking_info = {
|
||||
.tag = {
|
||||
.base = {
|
||||
.type = KERNAUX_MULTIBOOT2_TAGTYPE_NETWORKING_INFO,
|
||||
.size = sizeof(multiboot2_example.tag_networking_info),
|
||||
},
|
||||
},
|
||||
.data = {0, 0, 0, 0, 0, 0, 0, 0},
|
||||
},
|
||||
.tag_none = {
|
||||
.base = {
|
||||
.type = KERNAUX_MULTIBOOT2_TAGTYPE_NONE,
|
||||
|
|
Loading…
Add table
Reference in a new issue