mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +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
Notes:
sideshowbarker
2024-07-19 11:21:24 +09:00
Author: https://github.com/awesomekling
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