diff options
author | kib <kib@FreeBSD.org> | 2010-05-24 17:24:14 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2010-05-24 17:24:14 +0000 |
commit | 83ca04e61c5d7d05f2d17fe5bbec5822ac6d10d9 (patch) | |
tree | 3871b51737ab67ec769f768c2dd5adb8dd61bbe6 /sys/ia64/include | |
parent | f3e521941db62f14add692cbd5abd7d2e3e3d08b (diff) | |
download | FreeBSD-src-83ca04e61c5d7d05f2d17fe5bbec5822ac6d10d9.zip FreeBSD-src-83ca04e61c5d7d05f2d17fe5bbec5822ac6d10d9.tar.gz |
Change ia64' struct syscall_args definition so that args is a pointer to
the arguments array instead of array itself. ia64 syscall arguments are
readily available in the frame, point args to it, do not do unnecessary
bcopy. Still reserve the array in syscall_args for ia32 emulation.
Suggested and reviewed by: marcel
MFC after: 1 month
Diffstat (limited to 'sys/ia64/include')
-rw-r--r-- | sys/ia64/include/proc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/ia64/include/proc.h b/sys/ia64/include/proc.h index 574be36..8818b9d 100644 --- a/sys/ia64/include/proc.h +++ b/sys/ia64/include/proc.h @@ -45,7 +45,8 @@ struct mdproc { struct syscall_args { u_int code; struct sysent *callp; - register_t args[8]; + register_t *args; + register_t args32[8]; int narg; }; #define HAVE_SYSCALL_ARGS_DEF 1 |