cpu_swapout() not needed after all.
This commit is contained in:
parent
3541700d61
commit
b4cf60ac8a
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: cpu.h,v 1.15 1995/05/08 17:34:20 pk Exp $ */
|
||||
/* $NetBSD: cpu.h,v 1.16 1995/05/19 06:57:41 pk Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -70,6 +70,7 @@
|
||||
*/
|
||||
#define cpu_exec(p) /* nothing */
|
||||
#define cpu_swapin(p) /* nothing */
|
||||
#define cpu_swapout(p) /* nothing */
|
||||
#define cpu_wait(p) /* nothing */
|
||||
|
||||
/*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: vm_machdep.c,v 1.12 1995/05/08 17:50:00 pk Exp $ */
|
||||
/* $NetBSD: vm_machdep.c,v 1.13 1995/05/19 06:58:30 pk Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -269,21 +269,6 @@ cpu_exit(p)
|
||||
/* NOTREACHED */
|
||||
}
|
||||
|
||||
void
|
||||
cpu_swapout(p)
|
||||
struct proc *p;
|
||||
{
|
||||
register struct fpstate *fs;
|
||||
|
||||
if ((fs = p->p_md.md_fpstate) != NULL) {
|
||||
if (p == fpproc) {
|
||||
savefpstate(fs);
|
||||
fpproc = NULL;
|
||||
p->p_addr->u_pcb.pcb_psr &= ~PSR_EF;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* cpu_coredump is called to write a core dump header.
|
||||
* (should this be defined elsewhere? machdep.c?)
|
||||
|
Loading…
Reference in New Issue
Block a user