From 5f1ee2313ef1392bfa76586a5ba8a387b325013b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Tue, 28 Oct 2003 22:01:18 +0000 Subject: [PATCH] vm_translation_map_quick_map() has been slightly changed. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5207 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/core/arch/x86/arch_vm_translation_map.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/kernel/core/arch/x86/arch_vm_translation_map.c b/src/kernel/core/arch/x86/arch_vm_translation_map.c index e80e6e3449..325dad17a6 100755 --- a/src/kernel/core/arch/x86/arch_vm_translation_map.c +++ b/src/kernel/core/arch/x86/arch_vm_translation_map.c @@ -798,8 +798,9 @@ vm_translation_map_module_init2(kernel_args *ka) // the pgdir entries back at itself, effectively mapping the contents of all of the 4MB of pagetables // into a 4 MB region. It's only used here, and is later unmapped. -int -vm_translation_map_quick_map(kernel_args *ka, addr va, addr pa, unsigned int attributes, addr (*get_free_page)(kernel_args *)) +status_t +vm_translation_map_quick_map(kernel_args *ka, addr_t va, addr_t pa, + uint8 attributes, addr_t (*get_free_page)(kernel_args *)) { ptentry *pentry; int index;