mirror of
https://github.com/tailix/libkernaux.git
synced 2024-10-30 11:54:01 -04:00
Pack Multiboot 2 header
This commit is contained in:
parent
a225d0b1d3
commit
c8ccffbf47
2 changed files with 6 additions and 2 deletions
|
@ -5,7 +5,9 @@ __attribute__((aligned(KERNAUX_MULTIBOOT2_HEADER_ALIGN)))
|
|||
const struct {
|
||||
struct KernAux_Multiboot2_Header multiboot2_header;
|
||||
struct KernAux_Multiboot2_HTag_None tag_none;
|
||||
} multiboot2_header = {
|
||||
}
|
||||
__attribute__((packed))
|
||||
multiboot2_header = {
|
||||
.multiboot2_header = {
|
||||
.magic = KERNAUX_MULTIBOOT2_HEADER_MAGIC,
|
||||
.arch = KERNAUX_MULTIBOOT2_ARCH_NONE,
|
||||
|
|
|
@ -5,7 +5,9 @@ __attribute__((aligned(KERNAUX_MULTIBOOT2_HEADER_ALIGN)))
|
|||
const struct {
|
||||
struct KernAux_Multiboot2_Header multiboot2_header;
|
||||
struct KernAux_Multiboot2_HTag_None tag_none;
|
||||
} multiboot2_header = {
|
||||
}
|
||||
__attribute__((packed))
|
||||
multiboot2_header = {
|
||||
.multiboot2_header = {
|
||||
.magic = KERNAUX_MULTIBOOT2_HEADER_MAGIC,
|
||||
.arch = KERNAUX_MULTIBOOT2_ARCH_NONE,
|
||||
|
|
Loading…
Reference in a new issue