Skip to content
Snippets Groups Projects
Commit 910a493e authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Add syscall handler, still work in progress

Add elf files
parent 7ea16c73
No related branches found
No related tags found
No related merge requests found
......@@ -17,5 +17,3 @@ kernel_file:
.end:
.length equ kernel_file.end - kernel_file
.length_sectors equ .length / 512
times 1024*1024-($-$$) db 0
ENTRY(kstart)
OUTPUT_FORMAT(elf64-x86-64)
KERNEL_OFFSET = 0;
KERNEL_OFFSET = 0x100000;
SECTIONS {
. = 0x100000;
. = KERNEL_OFFSET;
. += SIZEOF_HEADERS;
. = ALIGN(4096);
. += KERNEL_OFFSET;
.text : AT(ADDR(.text) - KERNEL_OFFSET) {
__text_start = .;
*(.text*)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment