mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-27 18:15:10 +00:00
Make kernel build with clang.
It's a bit faster than g++ and seems to generate perfectly fine code. The kernel is also roughly 10% smaller(!)
This commit is contained in:
@@ -8,7 +8,7 @@ extern "C" void syscall_entry(RegisterDump&);
|
||||
extern "C" void syscall_ISR();
|
||||
extern volatile RegisterDump* syscallRegDump;
|
||||
|
||||
asm volatile(
|
||||
asm(
|
||||
".globl syscall_ISR \n"
|
||||
"syscall_ISR:\n"
|
||||
" pusha\n"
|
||||
|
||||
Reference in New Issue
Block a user