Kernel: Finally managed to get 64-bit working
I had weird problems with interrupts but everything should work now
This commit is contained in:
10
kernel/arch/x86_64/crtn.S
Normal file
10
kernel/arch/x86_64/crtn.S
Normal file
@@ -0,0 +1,10 @@
|
||||
/* x86-64 crtn.s */
|
||||
.section .init
|
||||
/* gcc will nicely put the contents of crtend.o's .init section here. */
|
||||
popq %rbp
|
||||
ret
|
||||
|
||||
.section .fini
|
||||
/* gcc will nicely put the contents of crtend.o's .fini section here. */
|
||||
popq %rbp
|
||||
ret
|
||||
Reference in New Issue
Block a user