linux(4): Drop the outdated comments about sixth register on i386 int0x80

This is well documented in the Linux syscall(2).

MFC after:		1 week

(cherry picked from commit 5bdd74cc05)
This commit is contained in:
Dmitry Chagin 2023-10-10 12:33:22 +03:00
parent c8ca21cc94
commit c9ec2fb86c
2 changed files with 2 additions and 2 deletions

View file

@ -525,7 +525,7 @@ linux32_fetch_syscall_args(struct thread *td)
sa->args[2] = frame->tf_rdx;
sa->args[3] = frame->tf_rsi;
sa->args[4] = frame->tf_rdi;
sa->args[5] = frame->tf_rbp; /* Unconfirmed */
sa->args[5] = frame->tf_rbp;
sa->code = frame->tf_rax;
sa->original_code = sa->code;

View file

@ -518,7 +518,7 @@ linux_fetch_syscall_args(struct thread *td)
sa->args[2] = frame->tf_edx;
sa->args[3] = frame->tf_esi;
sa->args[4] = frame->tf_edi;
sa->args[5] = frame->tf_ebp; /* Unconfirmed */
sa->args[5] = frame->tf_ebp;
if (sa->code >= p->p_sysent->sv_size)
/* nosys */