version 1.15.2.3, 2004/09/18 14:43:58 |
version 1.15.2.4, 2004/09/21 13:25:53 |
Line 56 extern const struct emul emul_netbsd32; |
|
Line 56 extern const struct emul emul_netbsd32; |
|
int netbsd32_exec_aout_prep_zmagic __P((struct proc *, struct exec_package *)); |
int netbsd32_exec_aout_prep_zmagic __P((struct proc *, struct exec_package *)); |
int netbsd32_exec_aout_prep_nmagic __P((struct proc *, struct exec_package *)); |
int netbsd32_exec_aout_prep_nmagic __P((struct proc *, struct exec_package *)); |
int netbsd32_exec_aout_prep_omagic __P((struct proc *, struct exec_package *)); |
int netbsd32_exec_aout_prep_omagic __P((struct proc *, struct exec_package *)); |
int exec_netbsd32_makecmds __P((struct proc *, struct exec_package *)); |
int exec_netbsd32_makecmds __P((struct lwp *, struct exec_package *)); |
#endif |
#endif |
#ifdef EXEC_ELF32 |
#ifdef EXEC_ELF32 |
int netbsd32_elf32_probe __P((struct proc *, struct exec_package *, void *, |
int netbsd32_elf32_probe __P((struct lwp *, struct exec_package *, void *, |
char *, vaddr_t *)); |
char *, vaddr_t *)); |
int netbsd32_elf32_probe_noteless __P((struct proc *, struct exec_package *, |
int netbsd32_elf32_probe_noteless __P((struct lwp *, struct exec_package *, |
void *, char *, vaddr_t *)); |
void *, char *, vaddr_t *)); |
int netbsd32_elf32_copyargs __P((struct proc *, struct exec_package *, |
int netbsd32_elf32_copyargs __P((struct lwp *, struct exec_package *, |
struct ps_strings *, char **, void *)); |
struct ps_strings *, char **, void *)); |
#endif /* EXEC_ELF32 */ |
#endif /* EXEC_ELF32 */ |
|
|
static __inline int netbsd32_copyargs __P((struct proc *, struct exec_package *, |
static __inline int netbsd32_copyargs __P((struct lwp *, struct exec_package *, |
struct ps_strings *, char **, void *)); |
struct ps_strings *, char **, void *)); |
|
|
void netbsd32_setregs (struct lwp *, struct exec_package *, u_long stack); |
void netbsd32_setregs (struct lwp *, struct exec_package *, u_long stack); |
Line 80 extern char netbsd32_esigcode[], netbsd3 |
|
Line 80 extern char netbsd32_esigcode[], netbsd3 |
|
* We need to copy out all pointers as 32-bit values. |
* We need to copy out all pointers as 32-bit values. |
*/ |
*/ |
static __inline int |
static __inline int |
netbsd32_copyargs(p, pack, arginfo, stackp, argp) |
netbsd32_copyargs(l, pack, arginfo, stackp, argp) |
struct proc *p; |
struct lwp *l; |
struct exec_package *pack; |
struct exec_package *pack; |
struct ps_strings *arginfo; |
struct ps_strings *arginfo; |
char **stackp; |
char **stackp; |