mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:38:11 +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
|
@ -28,8 +28,9 @@ asm(
|
|||
" popw %es\n"
|
||||
" popw %fs\n"
|
||||
" popw %gs\n"
|
||||
" mov %esp, %eax\n"
|
||||
" pushl %esp\n"
|
||||
" call syscall_trap_entry\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