From owner-cvs-sys Wed May 7 13:19:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA13168 for cvs-sys-outgoing; Wed, 7 May 1997 13:19:47 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA13137; Wed, 7 May 1997 13:19:25 -0700 (PDT) From: Peter Wemm Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA19321; Wed, 7 May 1997 13:19:19 -0700 (PDT) Date: Wed, 7 May 1997 13:19:19 -0700 (PDT) Message-Id: <199705072019.NAA19321@freefall.freebsd.org> To: CVS-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/i386 vm_machdep.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/05/07 13:19:19 Modified: sys/i386/i386 vm_machdep.c Log: clean up forked child creation. This is simplified also by having md_regs being struct trapframe *. Do a npxsave() if needed and copy the pcb rather than use the increasingly defunct savectx(). Copy %edi and %ebp explicitly. Submitted by: bde XXX npxproc could be declared in npx.h so the externs with smp fruit are not needed. Revision Changes Path 1.80 +36 -17 src/sys/i386/i386/vm_machdep.c