mirror of https://github.com/tailix/libkernaux.git
Add more Multiboot 2 tags to example data
This commit is contained in:
parent
b508e911a7
commit
05cb6f6288
|
@ -92,6 +92,11 @@ static const struct {
|
||||||
unsigned char data[8];
|
unsigned char data[8];
|
||||||
} tag_acpi_new_rsdp;
|
} 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;
|
struct KernAux_Multiboot2_Tag_None tag_none;
|
||||||
} multiboot2_example = {
|
} multiboot2_example = {
|
||||||
.multiboot2 = {
|
.multiboot2 = {
|
||||||
|
@ -301,6 +306,15 @@ static const struct {
|
||||||
},
|
},
|
||||||
.data = {0, 0, 0, 0, 0, 0, 0, 0},
|
.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 = {
|
.tag_none = {
|
||||||
.base = {
|
.base = {
|
||||||
.type = KERNAUX_MULTIBOOT2_TAGTYPE_NONE,
|
.type = KERNAUX_MULTIBOOT2_TAGTYPE_NONE,
|
||||||
|
|
Loading…
Reference in New Issue