Deleted Added
full compact
cpu_switch.S (46129) cpu_switch.S (46548)
1/*-
2 * Copyright (c) 1990 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * William Jolitz.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

28 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
1/*-
2 * Copyright (c) 1990 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * William Jolitz.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

28 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * $Id: swtch.s,v 1.78 1999/04/02 17:59:39 alc Exp $
36 * $Id: swtch.s,v 1.79 1999/04/28 01:03:25 luoqi Exp $
37 */
38
39#include "npx.h"
40#include "opt_user_ldt.h"
41#include "opt_vm86.h"
42
43#include <sys/rtprio.h>
44

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

245rem3rt: .asciz "remrq.rt"
246rem3id: .asciz "remrq.id"
247
248/*
249 * When no processes are on the runq, cpu_switch() branches to _idle
250 * to wait for something to come ready.
251 */
252 ALIGN_TEXT
37 */
38
39#include "npx.h"
40#include "opt_user_ldt.h"
41#include "opt_vm86.h"
42
43#include <sys/rtprio.h>
44

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

245rem3rt: .asciz "remrq.rt"
246rem3id: .asciz "remrq.id"
247
248/*
249 * When no processes are on the runq, cpu_switch() branches to _idle
250 * to wait for something to come ready.
251 */
252 ALIGN_TEXT
253 .type _idle,@function
253_idle:
254 xorl %ebp,%ebp
255 movl %ebp,_switchtime
256
257#ifdef SMP
258
259 /* when called, we have the mplock, intr disabled */
260 /* use our idleproc's "context" */

--- 560 unchanged lines hidden ---
254_idle:
255 xorl %ebp,%ebp
256 movl %ebp,_switchtime
257
258#ifdef SMP
259
260 /* when called, we have the mplock, intr disabled */
261 /* use our idleproc's "context" */

--- 560 unchanged lines hidden ---