15 lines
242 B
Plaintext
15 lines
242 B
Plaintext
|
#define ASM_FILE
|
||
|
#include <arch/mlayout.h>
|
||
|
|
||
|
ENTRY(arch_init_32)
|
||
|
|
||
|
SECTIONS
|
||
|
{
|
||
|
. = KERNEL_IMG_VADDR + KERNEL_IMG_PADDR;
|
||
|
|
||
|
.multiboot_header ALIGN(KERNEL_PAGE_SIZE) : AT(ADDR(.multiboot_header) - KERNEL_IMG_VADDR)
|
||
|
{
|
||
|
*(.multiboot_header)
|
||
|
}
|
||
|
}
|