Make PIE kernel

This commit is contained in:
mintsuki 2023-06-28 12:44:09 +02:00
parent d68a24f849
commit 40a2a7c915
3 changed files with 22 additions and 11 deletions

View file

@ -2,9 +2,18 @@
TIMEOUT=3
# The entry name that will be displayed in the boot menu.
:Limine Barebones
:Limine Barebones (KASLR off)
# 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:///kernel.elf
# Same thing, but with KASLR.
:Limine Barebones (KASLR on)
PROTOCOL=limine
KERNEL_PATH=boot:///kernel.elf