mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-07 16:40:59 +00:00
c3c905aa6c
Now the kernel page directory and the page tables are located at a safe address, to prevent from paging data colliding with garbage.
36 lines
377 B
Plaintext
36 lines
377 B
Plaintext
ENTRY(start)
|
|
|
|
SECTIONS
|
|
{
|
|
. = 0x100000;
|
|
|
|
.text BLOCK(4K) : ALIGN(4K)
|
|
{
|
|
Arch/i386/Boot/boot.ao
|
|
*(.multiboot)
|
|
*(.page_tables)
|
|
*(.text)
|
|
*(.text.startup)
|
|
}
|
|
|
|
.rodata BLOCK(4K) : ALIGN(4K)
|
|
{
|
|
start_ctors = .;
|
|
*(.ctors)
|
|
end_ctors = .;
|
|
|
|
*(.rodata)
|
|
}
|
|
|
|
.data BLOCK(4K) : ALIGN(4K)
|
|
{
|
|
*(.data)
|
|
}
|
|
|
|
.bss BLOCK(4K) : ALIGN(4K)
|
|
{
|
|
*(COMMON)
|
|
*(.bss)
|
|
}
|
|
}
|