Anonymous user
Limine Bare Bones: Difference between revisions
no edit summary
[unchecked revision] | [unchecked revision] |
(Backports from limine-c-template) |
No edit summary |
||
Line 173:
PHDRS
{
requests PT_LOAD FLAGS(
text PT_LOAD FLAGS(
rodata PT_LOAD FLAGS(
data PT_LOAD FLAGS(
dynamic PT_DYNAMIC FLAGS(
}
SECTIONS
{
/*
/* and because that is what the Limine spec mandates. */
/*
/*
. = 0xffffffff80000000;
/* Define a section to contain the Limine requests and assign it to its own PHDR */
Line 321 ⟶ 320:
-m elf_x86_64 \
-nostdlib \
-pie \
-z text \
-z max-page-size=0x1000 \
Line 383 ⟶ 380:
# The entry name that will be displayed in the boot menu.
:myOS
# We use the Limine boot protocol.
PROTOCOL=limine
# Disable KASLR (it is enabled by default for relocatable kernels)▼
KASLR=no▼
# Path to the kernel to boot. boot:/// represents the partition on which limine.cfg is located.
KERNEL_PATH=boot:///boot/myos
# Same thing, but
:myOS (
PROTOCOL=limine
▲ # Disable KASLR (it is enabled by default for relocatable kernels)
▲ KASLR=no
KERNEL_PATH=boot:///boot/myos
|