Deleted Added
full compact
vm.h (76827) vm.h (79224)
1/*
2 * Copyright (c) 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 45 unchanged lines hidden (view full) ---

54 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
55 * School of Computer Science
56 * Carnegie Mellon University
57 * Pittsburgh PA 15213-3890
58 *
59 * any improvements or extensions that they make and grant Carnegie the
60 * rights to redistribute these changes.
61 *
1/*
2 * Copyright (c) 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 45 unchanged lines hidden (view full) ---

54 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
55 * School of Computer Science
56 * Carnegie Mellon University
57 * Pittsburgh PA 15213-3890
58 *
59 * any improvements or extensions that they make and grant Carnegie the
60 * rights to redistribute these changes.
61 *
62 * $FreeBSD: head/sys/vm/vm.h 76827 2001-05-19 01:28:09Z alfred $
62 * $FreeBSD: head/sys/vm/vm.h 79224 2001-07-04 16:20:28Z dillon $
63 */
64
65#ifndef VM_H
66#define VM_H
67
68typedef char vm_inherit_t; /* inheritance codes */
69
70#define VM_INHERIT_SHARE ((vm_inherit_t) 0)

--- 19 unchanged lines hidden (view full) ---

90typedef struct vm_map_entry *vm_map_entry_t;
91
92struct vm_map;
93typedef struct vm_map *vm_map_t;
94
95struct vm_object;
96typedef struct vm_object *vm_object_t;
97
63 */
64
65#ifndef VM_H
66#define VM_H
67
68typedef char vm_inherit_t; /* inheritance codes */
69
70#define VM_INHERIT_SHARE ((vm_inherit_t) 0)

--- 19 unchanged lines hidden (view full) ---

90typedef struct vm_map_entry *vm_map_entry_t;
91
92struct vm_map;
93typedef struct vm_map *vm_map_t;
94
95struct vm_object;
96typedef struct vm_object *vm_object_t;
97
98#ifdef _KERNEL
99extern struct mtx vm_mtx;
100#endif
101
102#ifndef _KERNEL
103/*
104 * This is defined in <sys/types.h> for the kernel so that non-vm kernel
105 * sources (mainly Mach-derived ones such as ddb) don't have to include
106 * vm stuff. Defining it there for applications might break things.
107 * Define it here for "applications" that include vm headers (e.g.,
108 * genassym).
109 */
110typedef int boolean_t;
111
112/*
113 * This is defined in <sys/types.h> for the kernel so that vnode_if.h
114 * doesn't have to include <vm/vm.h>.
115 */
116struct vm_page;
117typedef struct vm_page *vm_page_t;
118#endif
119
120#endif /* VM_H */
98#ifndef _KERNEL
99/*
100 * This is defined in <sys/types.h> for the kernel so that non-vm kernel
101 * sources (mainly Mach-derived ones such as ddb) don't have to include
102 * vm stuff. Defining it there for applications might break things.
103 * Define it here for "applications" that include vm headers (e.g.,
104 * genassym).
105 */
106typedef int boolean_t;
107
108/*
109 * This is defined in <sys/types.h> for the kernel so that vnode_if.h
110 * doesn't have to include <vm/vm.h>.
111 */
112struct vm_page;
113typedef struct vm_page *vm_page_t;
114#endif
115
116#endif /* VM_H */