diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-12-28 16:40:46 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-12-28 16:40:46 +0000 |
commit | 898fd758e1ce8c82987b200d5efc43fa829c50f7 (patch) | |
tree | 5aa40b630ce5650821a4e0121fa53f9966cff695 /sys/arch/hp300 | |
parent | 4405ce99db865f3d59d113e603eb5c253c72ea66 (diff) |
We do not need to store a copy of the HP-UX exec structure in the pcb since
we don't put HP-UX bits in the coredumps and hpux_dumpu() has bitten the dust
twelve years ago. Notice by guenther@
Diffstat (limited to 'sys/arch/hp300')
-rw-r--r-- | sys/arch/hp300/hp300/hpux_machdep.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/sys/arch/hp300/hp300/hpux_machdep.c b/sys/arch/hp300/hp300/hpux_machdep.c index e478ceceea0..428e7cb3943 100644 --- a/sys/arch/hp300/hp300/hpux_machdep.c +++ b/sys/arch/hp300/hp300/hpux_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hpux_machdep.c,v 1.23 2009/03/25 22:42:58 weingart Exp $ */ +/* $OpenBSD: hpux_machdep.c,v 1.24 2009/12/28 16:40:44 miod Exp $ */ /* $NetBSD: hpux_machdep.c,v 1.19 1998/02/16 20:58:30 thorpej Exp $ */ /* @@ -138,12 +138,9 @@ hpux_cpu_makecmds(p, epp) } /* - * We need to stash the exec header in the pcb, so we define + * We need to setup pcb cacheability information correctly, so we define * this vmcmd to do it for us, since vmcmds are executed once * we're committed to the exec (i.e. the old program has been unmapped). - * - * The address of the header is in ev->ev_addr and the length is - * in ev->ev_len. */ int hpux_cpu_vmcmd(p, ev) @@ -152,11 +149,6 @@ hpux_cpu_vmcmd(p, ev) { struct hpux_exec *execp = (struct hpux_exec *)ev->ev_addr; - /* Make sure we have room. */ - if (ev->ev_len <= sizeof(p->p_addr->u_md.md_exec)) - bcopy((caddr_t)ev->ev_addr, p->p_addr->u_md.md_exec, - ev->ev_len); - /* Deal with misc. HP-UX process attributes. */ if (execp->ha_trsize & HPUXM_VALID) { if (execp->ha_trsize & HPUXM_DATAWT) |