Deleted Added
full compact
exception.S (34840) exception.S (35029)
1/*-
2 * Copyright (c) 1990 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 16 unchanged lines hidden (view full) ---

25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
1/*-
2 * Copyright (c) 1990 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 16 unchanged lines hidden (view full) ---

25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * $Id: exception.s,v 1.47 1997/10/27 17:19:20 bde Exp $
33 * $Id: exception.s,v 1.48 1998/03/23 19:52:23 jlemon Exp $
34 */
35
36#include "npx.h"
37#include "opt_vm86.h"
38
39#include <machine/asmacros.h>
40#include <machine/ipl.h>
41#include <machine/lock.h>

--- 296 unchanged lines hidden (view full) ---

338 pushl $0 /* cpl to restore */
339 subl $4,%esp /* dummy unit to finish intr frame */
340 movb $1,_intr_nesting_level
341 MEXITCOUNT
342 jmp _doreti
343
344ENTRY(fork_trampoline)
345 call _spl0
34 */
35
36#include "npx.h"
37#include "opt_vm86.h"
38
39#include <machine/asmacros.h>
40#include <machine/ipl.h>
41#include <machine/lock.h>

--- 296 unchanged lines hidden (view full) ---

338 pushl $0 /* cpl to restore */
339 subl $4,%esp /* dummy unit to finish intr frame */
340 movb $1,_intr_nesting_level
341 MEXITCOUNT
342 jmp _doreti
343
344ENTRY(fork_trampoline)
345 call _spl0
346 pushl $_runtime
347 call _microtime
346 movl _curproc,%eax
347 addl $P_RUNTIME,%eax
348 pushl %eax
349 call _getmicroruntime
348 popl %eax
349
350 /*
351 * cpu_set_fork_handler intercepts this function call to
352 * have this call a non-return function to stay in kernel mode.
353 * initproc has it's own fork handler, but it does return.
354 */
355 pushl %ebx /* arg1 */

--- 40 unchanged lines hidden ---
350 popl %eax
351
352 /*
353 * cpu_set_fork_handler intercepts this function call to
354 * have this call a non-return function to stay in kernel mode.
355 * initproc has it's own fork handler, but it does return.
356 */
357 pushl %ebx /* arg1 */

--- 40 unchanged lines hidden ---