cpu_switch.S (7dfe504fe248eb20630f145bde4a01c60f3ee80c) cpu_switch.S (87b911575102f86e2cbceac54e8b0518d27200cd)
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.21 1995/09/03 20:39:19 dyson Exp $
36 * $Id: swtch.s,v 1.22 1995/12/09 20:40:41 phk Exp $
37 */
38
39#include "npx.h" /* for NNPX */
40#include "assym.s" /* for preprocessor defines */
41#include <sys/errno.h> /* for error codes */
42
43#include <machine/asmacros.h> /* for miscellaneous assembly macros */
44#include <machine/spl.h> /* for SWI_AST_MASK ... */

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

61 .data
62 .globl _curpcb
63_curpcb: .long 0 /* pointer to curproc's PCB area */
64_whichqs: .long 0 /* which run queues have data */
65_whichrtqs: .long 0 /* which realtime run queues have data */
66_whichidqs: .long 0 /* which idletime run queues have data */
67
68 .globl _qs,_cnt,_panic
37 */
38
39#include "npx.h" /* for NNPX */
40#include "assym.s" /* for preprocessor defines */
41#include <sys/errno.h> /* for error codes */
42
43#include <machine/asmacros.h> /* for miscellaneous assembly macros */
44#include <machine/spl.h> /* for SWI_AST_MASK ... */

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

61 .data
62 .globl _curpcb
63_curpcb: .long 0 /* pointer to curproc's PCB area */
64_whichqs: .long 0 /* which run queues have data */
65_whichrtqs: .long 0 /* which realtime run queues have data */
66_whichidqs: .long 0 /* which idletime run queues have data */
67
68 .globl _qs,_cnt,_panic
69 .comm _noproc,4
70 .comm _runrun,4
71
72 .globl _want_resched
73_want_resched: .long 0 /* we need to re-run the scheduler */
74
75 .text
76/*
77 * setrunqueue(p)
78 *

--- 544 unchanged lines hidden ---
69
70 .globl _want_resched
71_want_resched: .long 0 /* we need to re-run the scheduler */
72
73 .text
74/*
75 * setrunqueue(p)
76 *

--- 544 unchanged lines hidden ---