FreeBSD/Linux Kernel Cross Reference
sys/i386/ast_check.c
1 /*
2 * Mach Operating System
3 * Copyright (c) 1991,1990 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 /*
28 * HISTORY
29 * $Log: ast_check.c,v $
30 * Revision 2.3 91/05/14 16:03:21 mrt
31 * Correcting copyright
32 *
33 * Revision 2.2 91/05/08 12:30:25 dbg
34 * Copied for i386.
35 * [91/03/21 dbg]
36 *
37 * Revision 2.2 90/08/27 22:13:09 dbg
38 * Created.
39 * [90/07/18 dbg]
40 *
41 */
42 #include <cpus.h>
43
44 #if NCPUS > 1
45
46 /*
47 * Handle signalling ASTs on other processors.
48 *
49 * Initial i386 implementation does nothing.
50 */
51
52 #include <kern/processor.h>
53
54 /*
55 * Initialize for remote invocation of ast_check.
56 */
57 init_ast_check(processor)
58 processor_t processor;
59 {
60 #ifdef lint
61 processor++;
62 #endif lint
63 }
64
65 /*
66 * Cause remote invocation of ast_check. Caller is at splsched().
67 */
68 cause_ast_check(processor)
69 processor_t processor;
70 {
71 #ifdef lint
72 processor++;
73 #endif lint
74 }
75
76 #endif /* NCPUS > 1 */
Cache object: 1f10296d6c1d3802bf56749bac33ab4b
|