FreeBSD/Linux Kernel Cross Reference
sys/kern/host.h
1 /*
2 * Mach Operating System
3 * Copyright (c) 1991,1990,1989,1988 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: host.h,v $
29 * Revision 2.4 91/05/14 16:41:25 mrt
30 * Correcting copyright
31 *
32 * Revision 2.3 91/02/05 17:26:20 mrt
33 * Changed to new Mach copyright
34 * [91/02/01 16:12:24 mrt]
35 *
36 * Revision 2.2 90/06/02 14:53:53 rpd
37 * Created for new host/processor technology.
38 * [90/03/26 23:50:40 rpd]
39 *
40 * Cleanup changes.
41 * [89/08/02 dlb]
42 * extern realhost declaration.
43 * [89/02/03 dlb]
44 *
45 * Revision 2.3 89/10/15 02:04:17 rpd
46 * Minor cleanups.
47 *
48 * Revision 2.2 89/10/11 14:05:08 dlb
49 * Cleanup.
50 * [89/08/02 dlb]
51 *
52 */
53
54 /*
55 * kern/host.h
56 *
57 * Definitions for host data structures.
58 *
59 */
60
61 #ifndef _KERN_HOST_H_
62 #define _KERN_HOST_H_
63
64 struct host {
65 struct ipc_port *host_self;
66 struct ipc_port *host_priv_self;
67 };
68
69 typedef struct host *host_t;
70 typedef struct host host_data_t;
71
72 #define HOST_NULL ((host_t)0)
73
74 extern host_data_t realhost;
75
76 #endif _KERN_HOST_H_
Cache object: 1fcd2636e37cd15ace15d47a8dad7d95
|