1 /* 2 * Copyright 2003-2007, Axel Dörfler, axeld@pinc-software.de. 3 * Distributed under the terms of the MIT License. 4 * 5 * Copyright 2001-2002, Travis Geiselbrecht. All rights reserved. 6 * Distributed under the terms of the NewOS License. 7 */ 8 #ifndef _KERNEL_VM_VM_CACHE_H 9 #define _KERNEL_VM_VM_CACHE_H 10 11 12 #include <kernel.h> 13 #include <vm/vm.h> 14 15 16 struct kernel_args; 17 18 19 #ifdef __cplusplus 20 extern "C" { 21 #endif 22 23 status_t vm_cache_init(struct kernel_args *args); 24 struct VMCache *vm_cache_acquire_locked_page_cache(struct vm_page *page, 25 bool dontWait); 26 27 #ifdef __cplusplus 28 } 29 #endif 30 31 #endif /* _KERNEL_VM_VM_CACHE_H */ 32