CPU_SWAPOUT(9)         NetBSD Kernel Developer's Manual         CPU_SWAPOUT(9)

NAME
     cpu_swapout, cpu_swapin -- machine-dependent swap interface

SYNOPSIS
     #include <sys/lwp.h>
     #include <machine/cpu.h>

     void
     cpu_swapout(struct lwp *l);

     void
     cpu_swapin(struct lwp *l);

DESCRIPTION
     cpu_swapout() and cpu_swapin() are the machine-dependent interface for
     swapping processes in and out of the system.  They perform any machine-
     specific operations such as saving and restoring floating point state.
     They are invoked by uvm_swapout() and uvm_swapin() respectively.

SEE ALSO
     uvm(9)

NetBSD 5.0_STABLE              December 20, 2005             NetBSD 5.0_STABLE
