revitalized
This commit is contained in:
parent
2190a5c04d
commit
a46f795b5a
12 changed files with 52 additions and 86 deletions
7
link-cfg/grub.cfg
Normal file
7
link-cfg/grub.cfg
Normal file
|
@ -0,0 +1,7 @@
|
|||
set timeout=0
|
||||
set default=0
|
||||
|
||||
menuentry "rustos_boot" {
|
||||
multiboot2 /boot/kernel.bin
|
||||
boot
|
||||
}
|
12
link-cfg/linker.ld
Normal file
12
link-cfg/linker.ld
Normal file
|
@ -0,0 +1,12 @@
|
|||
ENTRY(start)
|
||||
SECTIONS {
|
||||
. = 1M;
|
||||
.boot :
|
||||
{
|
||||
KEEP(*(.multiboot_header))
|
||||
}
|
||||
.text :
|
||||
{
|
||||
*(.text)
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue