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/amd64 | |
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/amd64')
-rw-r--r-- | sys/amd64/amd64/machdep.c | 3 | ||||
-rw-r--r-- | sys/amd64/include/reg.h | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index d699c6e..6cd3bfc 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -55,6 +55,7 @@ #include <sys/systm.h> #include <sys/sysproto.h> #include <sys/signalvar.h> +#include <sys/imgact.h> #include <sys/kernel.h> #include <sys/ktr.h> #include <sys/linker.h> @@ -822,7 +823,7 @@ cpu_idle(void) * Clear registers on exec */ void -setregs(td, entry, stack, ps_strings) +exec_setregs(td, entry, stack, ps_strings) struct thread *td; u_long entry; u_long stack; diff --git a/sys/amd64/include/reg.h b/sys/amd64/include/reg.h index ca15fb2..a900a9d 100644 --- a/sys/amd64/include/reg.h +++ b/sys/amd64/include/reg.h @@ -143,7 +143,6 @@ struct dbreg { /* * 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 *); |