define BROKEN_SWAP and/or cpu_swapout as appropriate.

This commit is contained in:
cgd 1995-05-05 03:41:51 +00:00
parent 0b2ce5d881
commit 8703076975
13 changed files with 46 additions and 22 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.3 1995/04/22 20:24:49 christos Exp $ */
/* $NetBSD: cpu.h,v 1.4 1995/05/05 03:41:51 cgd Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -58,6 +58,8 @@
#define cpu_exec(p) /* nothing XXX? */
#define cpu_wait(p) /* nothing */
#define cpu_setstack(p, ap) (p)->p_addr->u_pcb.pcb_usp
#define BROKEN_SWAP
#define cpu_swapout(p) panic("cpu_swapout: can't get here");
/*
* Arguments to hardclock and gatherstats encapsulate the previous

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.18 1995/04/22 20:25:09 christos Exp $ */
/* $NetBSD: cpu.h,v 1.19 1995/05/05 03:41:54 cgd Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -57,6 +57,8 @@
#define cpu_wait(p) /* nothing */
#define cpu_setstack(p, ap) (p)->p_md.md_regs[SP] = ap
#define cpu_set_init_frame(p, fp) (p)->p_md.md_regs = fp
#define BROKEN_SWAP
#define cpu_swapout(p) panic("cpu_swapout: can't get here");
/*
* Arguments to hardclock and gatherstats encapsulate the previous

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.4 1995/04/30 11:56:22 leo Exp $ */
/* $NetBSD: cpu.h,v 1.5 1995/05/05 03:41:56 cgd Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -58,6 +58,8 @@
#define cpu_wait(p) /* nothing */
#define cpu_setstack(p, ap) (p)->p_md.md_regs[SP] = ap
#define cpu_set_init_frame(p, fp) (p)->p_md.md_regs = fp
#define BROKEN_SWAP
#define cpu_swapout(p) panic("cpu_swapout: can't get here");
/*
* Arguments to hardclock and gatherstats encapsulate the previous

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.5 1995/04/22 20:25:34 christos Exp $ */
/* $NetBSD: cpu.h,v 1.6 1995/05/05 03:41:58 cgd Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -55,6 +55,8 @@
#define cpu_wait(p) /* nothing */
#define cpu_setstack(p, ap) (p)->p_md.md_regs[SP] = ap
#define cpu_set_init_frame(p, fp) (p)->p_md.md_regs = fp
#define BROKEN_SWAP
#define cpu_swapout(p) panic("cpu_swapout: can't get here");
/*
* Arguments to hardclock and gatherstats encapsulate the previous

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.11 1995/04/22 20:26:06 christos Exp $ */
/* $NetBSD: cpu.h,v 1.12 1995/05/05 03:41:59 cgd Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -55,6 +55,8 @@
#define cpu_wait(p) /* nothing */
#define cpu_setstack(p, ap) (p)->p_md.md_regs[SP] = ap
#define cpu_set_init_frame(p, fp) (p)->p_md.md_regs = fp
#define BROKEN_SWAP
#define cpu_swapout(p) panic("cpu_swapout: can't get here");
/*
* Arguments to hardclock and gatherstats encapsulate the previous

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.27 1995/04/22 20:26:58 christos Exp $ */
/* $NetBSD: cpu.h,v 1.28 1995/05/05 03:42:02 cgd Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -56,6 +56,8 @@
#define cpu_swapin(p) /* nothing */
#define cpu_wait(p) /* nothing */
#define cpu_set_init_frame(p,frame) (p->p_md.md_regs = frame)
#define BROKEN_SWAP
#define cpu_swapout(p) panic("cpu_swapout: can't get here");
/*
* Arguments to hardclock, softclock and statclock

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.19 1995/04/22 20:27:25 christos Exp $ */
/* $NetBSD: cpu.h,v 1.20 1995/05/05 03:42:06 cgd Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -81,6 +81,8 @@
#define cpu_wait(p) /* nothing */
#define cpu_setstack(p, ap) (p)->p_md.md_regs[SP] = ap
#define cpu_set_init_frame(p, fp) (p)->p_md.md_regs = fp
#define BROKEN_SWAP
#define cpu_swapout(p) panic("cpu_swapout: can't get here");
/*
* Arguments to hardclock, softclock and gatherstats

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.10 1995/04/22 20:27:59 christos Exp $ */
/* $NetBSD: cpu.h,v 1.11 1995/05/05 03:42:09 cgd Exp $ */
/*-
* Copyright (c) 1992, 1993
@ -54,6 +54,8 @@
#define cpu_exec(p) (p->p_md.md_ss_addr = 0) /* init single step */
#define cpu_wait(p) /* nothing */
#define cpu_set_init_frame(p, fp) /* nothing */
#define BROKEN_SWAP
#define cpu_swapout(p) panic("cpu_swapout: can't get here");
/*
* Arguments to hardclock and gatherstats encapsulate the previous

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.9 1995/04/22 20:27:51 christos Exp $ */
/* $NetBSD: cpu.h,v 1.10 1995/05/05 03:42:07 cgd Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -55,6 +55,9 @@
*/
#define cpu_exec(p) /* nothing */
#define cpu_swapin(p) /* nothing */
#define cpu_set_init_frame(p,fp) (p)->p_md.md_regs = fp
#define BROKEN_SWAP
#define cpu_swapout(p) panic("cpu_swapout: can't get here");
/* XXX needed? PAN
* function vs. inline configuration;
@ -115,7 +118,4 @@ int want_resched; /* resched() was called */
{ "console_device", CTLTYPE_STRUCT }, \
}
/* Support for init start up. */
#define cpu_set_init_frame(p,fp) (p)->p_md.md_regs = fp
#endif

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.10 1995/04/22 20:27:59 christos Exp $ */
/* $NetBSD: cpu.h,v 1.11 1995/05/05 03:42:09 cgd Exp $ */
/*-
* Copyright (c) 1992, 1993
@ -54,6 +54,8 @@
#define cpu_exec(p) (p->p_md.md_ss_addr = 0) /* init single step */
#define cpu_wait(p) /* nothing */
#define cpu_set_init_frame(p, fp) /* nothing */
#define BROKEN_SWAP
#define cpu_swapout(p) panic("cpu_swapout: can't get here");
/*
* Arguments to hardclock and gatherstats encapsulate the previous

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.13 1995/04/22 20:28:23 christos Exp $ */
/* $NetBSD: cpu.h,v 1.14 1995/05/05 03:42:11 cgd Exp $ */
/*
* Copyright (c) 1992, 1993
@ -71,6 +71,8 @@
#define cpu_exec(p) /* nothing */
#define cpu_swapin(p) /* nothing */
#define cpu_wait(p) /* nothing */
#define BROKEN_SWAP
#define cpu_swapout(p) panic("cpu_swapout: can't get here");
/*
* See syscall() for an explanation of the following. Note that the

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.16 1995/04/22 20:28:53 christos Exp $ */
/* $NetBSD: cpu.h,v 1.17 1995/05/05 03:42:13 cgd Exp $ */
/*
* Copyright (c) 1994 Gordon W. Ross
@ -58,6 +58,8 @@
#define cpu_wait(p) /* nothing */
#define cpu_setstack(p, ap) (p)->p_md.md_regs[SP] = ap
#define cpu_set_init_frame(p, fp) (p)->p_md.md_regs = fp
#define BROKEN_SWAP
#define cpu_swapout(p) panic("cpu_swapout: can't get here");
/*
* Arguments to hardclock and gatherstats encapsulate the previous

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.8 1995/05/03 19:53:42 ragge Exp $ */
/* $NetBSD: cpu.h,v 1.9 1995/05/05 03:42:15 cgd Exp $ */
/*
* Copyright (c) 1994 Ludd, University of Lule}, Sweden
@ -41,6 +41,8 @@
#define cpu_set_init_frame(p,f)\
{extern u_int scratch;p->p_addr->u_pcb.framep=scratch;}
#define cpu_wait(p)
#define BROKEN_SWAP
#define cpu_swapout(p) panic("cpu_swapout: can't get here");
extern volatile int cpunumber;