Support six argument syscalls
This fixes the syscall path so it no longer clobbers %r9, which means
we can use it as the 6th function argument, following the AMD64 ABI.
We still need a scratch register, but we now get that by stashing away
%rax (the syscall number) in a per-CPU variable, making it available
for use.
正在显示
请
注册
或者
登录
后发表评论