mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 02:38:13 +00:00
Kernel: Don't build with -mregparm=3
It was really confusing to have different calling conventions in kernel and userspace. Also this has prevented us from linking with libgcc.
This commit is contained in:
parent
01b21e5e05
commit
1c6f8d3cbd
6 changed files with 54 additions and 52 deletions
|
@ -27,8 +27,9 @@ asm(
|
|||
" popw %es\n"
|
||||
" popw %fs\n"
|
||||
" popw %gs\n"
|
||||
" mov %esp, %eax\n"
|
||||
" pushl %esp\n"
|
||||
" call timer_interrupt_handler\n"
|
||||
" add $4, %esp\n"
|
||||
" popw %gs\n"
|
||||
" popw %gs\n"
|
||||
" popw %fs\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue