diff options
author | jake <jake@FreeBSD.org> | 2002-08-29 06:17:48 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2002-08-29 06:17:48 +0000 |
commit | 821a548da75eefa18540bb668624292c4408fd33 (patch) | |
tree | 504a24449e0b0453b084a0982a343d168bd22048 /sys/alpha | |
parent | 97dddf3bbf469578f768ae9cecb847603aed817d (diff) | |
download | FreeBSD-src-821a548da75eefa18540bb668624292c4408fd33.zip FreeBSD-src-821a548da75eefa18540bb668624292c4408fd33.tar.gz |
Renamed poorly named setregs to exec_setregs. Moved its prototype to
imgact.h with the other exec support functions.
Diffstat (limited to 'sys/alpha')
-rw-r--r-- | sys/alpha/alpha/machdep.c | 4 | ||||
-rw-r--r-- | sys/alpha/include/reg.h | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/sys/alpha/alpha/machdep.c b/sys/alpha/alpha/machdep.c index 71aaea1..af5e44b 100644 --- a/sys/alpha/alpha/machdep.c +++ b/sys/alpha/alpha/machdep.c @@ -97,6 +97,7 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/eventhandler.h> +#include <sys/imgact.h> #include <sys/sysproto.h> #include <sys/ktr.h> #include <sys/signalvar.h> @@ -131,7 +132,6 @@ #include <sys/ucontext.h> #include <machine/clock.h> #include <machine/md_var.h> -#include <machine/reg.h> #include <machine/fpu.h> #include <machine/pal.h> #include <machine/cpuconf.h> @@ -1583,7 +1583,7 @@ cpu_halt(void) * Clear registers on exec */ void -setregs(struct thread *td, u_long entry, u_long stack, u_long ps_strings) +exec_setregs(struct thread *td, u_long entry, u_long stack, u_long ps_strings) { struct trapframe *tfp = td->td_frame; diff --git a/sys/alpha/include/reg.h b/sys/alpha/include/reg.h index 3ea6143..6e1b1d3 100644 --- a/sys/alpha/include/reg.h +++ b/sys/alpha/include/reg.h @@ -114,7 +114,6 @@ void savefpstate(struct fpreg *); /* * XXX these interfaces are MI, so they should be declared in a MI place. */ -void setregs(struct thread *, u_long, u_long, u_long); int fill_regs(struct thread *, struct reg *); int set_regs(struct thread *, struct reg *); int fill_fpregs(struct thread *, struct fpreg *); |