diff options
author | dillon <dillon@FreeBSD.org> | 2001-08-22 04:07:27 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 2001-08-22 04:07:27 +0000 |
commit | abe30f58d82512ce17bc3c2bc44e3bf0d6635b6f (patch) | |
tree | 6a4cf0c6700067e8baefaa4a41196fff464d0368 /sys/vm/vm.h | |
parent | a11f076b5cd76a6d5abcadc5cda49733a6961b8f (diff) | |
download | FreeBSD-src-abe30f58d82512ce17bc3c2bc44e3bf0d6635b6f.zip FreeBSD-src-abe30f58d82512ce17bc3c2bc44e3bf0d6635b6f.tar.gz |
Move most of the kernel submap initialization code, including the
timeout callwheel and buffer cache, out of the platform specific areas
and into the machine independant area. i386 and alpha adjusted here.
Other cpus can be fixed piecemeal.
Reviewed by: freebsd-smp, jake
Diffstat (limited to 'sys/vm/vm.h')
-rw-r--r-- | sys/vm/vm.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sys/vm/vm.h b/sys/vm/vm.h index 38f04ac..710d854 100644 --- a/sys/vm/vm.h +++ b/sys/vm/vm.h @@ -113,4 +113,21 @@ struct vm_page; typedef struct vm_page *vm_page_t; #endif +/* + * Information passed from the machine-independant VM initialization code + * for use by machine-dependant code (mainly for MMU support) + */ +struct kva_md_info { + vm_offset_t buffer_sva; + vm_offset_t buffer_eva; + vm_offset_t clean_sva; + vm_offset_t clean_eva; + vm_offset_t pager_sva; + vm_offset_t pager_eva; +}; + +extern struct kva_md_info kmi; +extern void vm_ksubmap_init(struct kva_md_info *kmi); + #endif /* VM_H */ + |