Initial commit - UEFI application building

This commit is contained in:
Justin C. Miller
2017-01-02 13:40:42 -08:00
commit 89c2c70c28
13 changed files with 596 additions and 0 deletions

32
src/arch/x86_64/kernel.ld Normal file
View File

@@ -0,0 +1,32 @@
ENTRY(start)
SECTIONS
{
. = 0x100000;
.__mbHeader : {
mboot = .;
*(.__mbHeader)
. = ALIGN(4096);
}
.text : {
code = .;
*(.text)
. = ALIGN(4096);
}
.data : {
data = .;
*(.data)
*(.rodata)
. = ALIGN(4096);
}
.bss : {
bss = .;
*(.bss)
. = ALIGN(4096);
}
end = .;
}