1 /*
2 * Mach Operating System
3 * Copyright (c) 1992,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.7 93/11/17 17:31:51 dbg
30 * Added ANSI function prototypes.
31 * [93/01/07 dbg]
32 *
33 * Revision 2.6 91/07/31 17:50:25 dbg
34 * Merge remaining swap states with state field in thread.
35 * [91/07/30 17:07:30 dbg]
36 *
37 * Revision 2.5 91/05/14 16:49:20 mrt
38 * Correcting copyright
39 *
40 * Revision 2.4 91/03/16 14:53:18 rpd
41 * Removed thread_swappable, swapout_thread, etc.
42 * Removed unnecessary swap states.
43 * [91/01/18 rpd]
44 *
45 * Revision 2.3 91/02/05 17:30:46 mrt
46 * Changed to new Mach copyright
47 * [91/02/01 16:20:24 mrt]
48 *
49 * Revision 2.2 90/06/02 14:57:23 rpd
50 * Updated for new swapping technology.
51 * [90/03/26 22:27:27 rpd]
52 *
53 * Revision 2.1 89/08/03 15:54:23 rwd
54 * Created.
55 *
56 * 21-Jan-88 David Golub (dbg) at Carnegie-Mellon University
57 * Created.
58 *
59 */
60 /*
61 * File: kern/thread_swap.h
62 *
63 * Declarations of thread swapping routines.
64 */
65
66 #ifndef _KERN_THREAD_SWAP_H_
67 #define _KERN_THREAD_SWAP_H_
68
69 /*
70 * exported routines
71 */
72 extern void swapper_init(void);
73 extern void thread_swapin(thread_t);
74 extern void thread_doswapin(thread_t);
75 extern void swapin_thread(void);
76
77 #endif /* _KERN_THREAD_SWAP_H_ */
Cache object: b03b3a0ce67b4912c4d94fce8f4f0cbc
|