Push missing grub.cfg and linker script for x86, x86_64

This commit is contained in:
HyperAssembler 2015-01-30 00:34:05 -08:00
parent 9b06af76b2
commit 82561feeea
3 changed files with 49 additions and 0 deletions

8
build/grub.cfg Normal file
View File

@ -0,0 +1,8 @@
menuentry "HOS x86 with x64 [Dev]" {
multiboot /HOS/kernel32
module /HOS/kernel64 kernel64
}
menuentry "HOS Multiboot2 [Pending]" {
insmod kernel64
multiboot2 /HOS/multiboot2.bin
}

23
build/link32.ld Normal file
View File

@ -0,0 +1,23 @@
OUTPUT_FORMAT(binary)
SECTIONS
{
.text.start (0x1000000):
{
*(.multiboot)
}
.text :
{
*(.text)
}
.data :
{
*(.data)
}
.bss :
{
*(.bss)
}
}

18
build/link64.ld Normal file
View File

@ -0,0 +1,18 @@
OUTPUT_FORMAT(binary)
SECTIONS
{
.text :
{
*(.text)
}
.data :
{
*(.data)
}
.bss :
{
*(.bss)
}
}