1 /*
2 * Mach Operating System
3 * Copyright (c) 1991,1990,1989,1988,1987 Carnegie Mellon University
4 * All Rights Reserved.
5 *
6 * Permission to use, copy, modify and distribute this software and its
7 * documentation is hereby granted, provided that both the copyright
8 * notice and this permission notice appear in all copies of the
9 * software, derivative works or modified versions, and any portions
10 * thereof, and that both notices appear in supporting documentation.
11 *
12 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
13 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
14 * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
15 *
16 * Carnegie Mellon requests users of this software to return to
17 *
18 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
19 * School of Computer Science
20 * Carnegie Mellon University
21 * Pittsburgh PA 15213-3890
22 *
23 * any improvements or extensions that they make and grant Carnegie Mellon
24 * the rights to redistribute these changes.
25 */
26 /*
27 * HISTORY
28 * $Log: thread_swap.h,v $
29 * Revision 2.6 91/07/31 17:50:25 dbg
30 * Merge remaining swap states with state field in thread.
31 * [91/07/30 17:07:30 dbg]
32 *
33 * Revision 2.5 91/05/14 16:49:20 mrt
34 * Correcting copyright
35 *
36 * Revision 2.4 91/03/16 14:53:18 rpd
37 * Removed thread_swappable, swapout_thread, etc.
38 * Removed unnecessary swap states.
39 * [91/01/18 rpd]
40 *
41 * Revision 2.3 91/02/05 17:30:46 mrt
42 * Changed to new Mach copyright
43 * [91/02/01 16:20:24 mrt]
44 *
45 * Revision 2.2 90/06/02 14:57:23 rpd
46 * Updated for new swapping technology.
47 * [90/03/26 22:27:27 rpd]
48 *
49 * Revision 2.1 89/08/03 15:54:23 rwd
50 * Created.
51 *
52 * 21-Jan-88 David Golub (dbg) at Carnegie-Mellon University
53 * Created.
54 *
55 */
56 /*
57 * File: kern/thread_swap.h
58 *
59 * Declarations of thread swapping routines.
60 */
61
62 #ifndef _KERN_THREAD_SWAP_H_
63 #define _KERN_THREAD_SWAP_H_
64
65 /*
66 * exported routines
67 */
68 extern void swapper_init();
69 extern void thread_swapin( /* thread_t thread */ );
70 extern void thread_doswapin( /* thread_t thread */ );
71 extern void swapin_thread();
72 extern void thread_swapout( /* thread_t thread */ );
73
74 #endif _KERN_THREAD_SWAP_H_
Cache object: e8f3ad8eb65f198a71aa5c2b0b7f091f
|