From c00c14155746b7e919e1c8ce16cc742803b8bab6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 13 Dec 2004 22:04:26 +0000 Subject: [PATCH] vm_create_vnode_cache() now fills a vm_cache_ref instead a void pointer. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10427 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/kernel/vm.h | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/headers/private/kernel/vm.h b/headers/private/kernel/vm.h index ba10677674..bab888904c 100755 --- a/headers/private/kernel/vm.h +++ b/headers/private/kernel/vm.h @@ -1,17 +1,15 @@ /* -** Copyright 2002-2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved. -** Distributed under the terms of the Haiku License. -** -** Copyright 2001-2002, Travis Geiselbrecht. All rights reserved. -** Distributed under the terms of the NewOS License. -*/ + * Copyright 2002-2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved. + * Distributed under the terms of the MIT License. + * + * Copyright 2001-2002, Travis Geiselbrecht. All rights reserved. + * Distributed under the terms of the NewOS License. + */ #ifndef _KERNEL_VM_H #define _KERNEL_VM_H #include -#include -#include #include #include @@ -62,7 +60,7 @@ area_id vm_copy_area(aspace_id addressSpaceID, const char *name, void **_address area_id vm_clone_area(aspace_id aid, const char *name, void **address, uint32 addressSpec, uint32 protection, uint32 mapping, area_id sourceArea); status_t vm_delete_area(aspace_id aid, area_id id); -status_t vm_create_vnode_cache(void *vnode, void **_cache); +status_t vm_create_vnode_cache(void *vnode, vm_cache_ref **_cacheRef); status_t vm_get_page_mapping(aspace_id aid, addr_t vaddr, addr_t *paddr); status_t vm_get_physical_page(addr_t paddr, addr_t *vaddr, int flags);