diff options
author | peter <peter@FreeBSD.org> | 2002-09-07 04:59:49 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2002-09-07 04:59:49 +0000 |
commit | 8e47265dc5fc08ae31fe2750e6933d17e84ba03a (patch) | |
tree | e5f032c7a5adbf243997df37d2381fe3e99d056a /sys | |
parent | 64f61942de0b2ba87dee96bc2797d27fdc56d946 (diff) | |
download | FreeBSD-src-8e47265dc5fc08ae31fe2750e6933d17e84ba03a.zip FreeBSD-src-8e47265dc5fc08ae31fe2750e6933d17e84ba03a.tar.gz |
Supposedly linux has added a 6th syscall arg register (%ebp). I am not
100% sure if this is enough, but it will not harm anything.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/i386/linux/linux_sysvec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/i386/linux/linux_sysvec.c b/sys/i386/linux/linux_sysvec.c index 6166408..f042d84 100644 --- a/sys/i386/linux/linux_sysvec.c +++ b/sys/i386/linux/linux_sysvec.c @@ -716,6 +716,7 @@ linux_prepsyscall(struct trapframe *tf, int *args, u_int *code, caddr_t *params) args[2] = tf->tf_edx; args[3] = tf->tf_esi; args[4] = tf->tf_edi; + args[5] = tf->tf_ebp; /* Unconfirmed */ *params = NULL; /* no copyin */ } |