Deleted Added
full compact
vm.h (89802) vm.h (92029)
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 89802 2002-01-25 21:33:10Z dwmalone $
62 * $FreeBSD: head/sys/vm/vm.h 92029 2002-03-10 21:52:48Z eivind $
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)

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

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;
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)

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

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
114#endif /* _KERNEL */
115
116/*
117 * Information passed from the machine-independant VM initialization code
118 * for use by machine-dependant code (mainly for MMU support)
119 */
120struct kva_md_info {
121 vm_offset_t buffer_sva;
122 vm_offset_t buffer_eva;
123 vm_offset_t clean_sva;
124 vm_offset_t clean_eva;
125 vm_offset_t pager_sva;
126 vm_offset_t pager_eva;
127};
128
129extern struct kva_md_info kmi;
130extern void vm_ksubmap_init(struct kva_md_info *);
131
132#endif /* VM_H */
133
115
116/*
117 * Information passed from the machine-independant VM initialization code
118 * for use by machine-dependant code (mainly for MMU support)
119 */
120struct kva_md_info {
121 vm_offset_t buffer_sva;
122 vm_offset_t buffer_eva;
123 vm_offset_t clean_sva;
124 vm_offset_t clean_eva;
125 vm_offset_t pager_sva;
126 vm_offset_t pager_eva;
127};
128
129extern struct kva_md_info kmi;
130extern void vm_ksubmap_init(struct kva_md_info *);
131
132#endif /* VM_H */
133