Subject: Re: cpu_swapout and cpu.h stuff
To: Rob Healey <rhealey@kas.helios.mn.org>
From: Chris G Demetriou <Chris_G_Demetriou@LAGAVULIN.PDL.CS.CMU.EDU>
List: amiga-dev
Date: 05/07/1995 12:19:17
> 	What's up with the cpu_swapout macro? It appears most ports
> 	have this set to a panic(?!) string!

yup.

> 	Can this be defined to a null macro? The net effect on the Amiga
> 	port is to panic the system whenever it needs to swap vs
> 	page a process.

looks like i goofed up slightly.  sys/vm/vm_pager.c should explicitly
include <machine/cpu.h>.  (On the i386 it does, but only because other
headers include it.)

It's decidedly _NOT_ supposed to be an empty macro; take a look at the
source that uses it, and the reason (and the solution) will make sense.


cgd