1 /* 2 * Copyright 2019 Haiku, Inc. All Rights Reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 #include <arch/vm_translation_map.h> 6 #include <boot/kernel_args.h> 7 8 9 status_t 10 arch_vm_translation_map_create_map(bool kernel, VMTranslationMap** _map) 11 { 12 return B_OK; 13 } 14 15 16 status_t 17 arch_vm_translation_map_init(kernel_args *args, 18 VMPhysicalPageMapper** _physicalPageMapper) 19 { 20 return B_OK; 21 } 22 23 24 status_t 25 arch_vm_translation_map_init_post_sem(kernel_args *args) 26 { 27 return B_OK; 28 } 29 30 31 status_t 32 arch_vm_translation_map_init_post_area(kernel_args *args) 33 { 34 return B_OK; 35 } 36 37 38 status_t 39 arch_vm_translation_map_early_map(kernel_args *args, addr_t va, phys_addr_t pa, 40 uint8 attributes, phys_addr_t (*get_free_page)(kernel_args *)) 41 { 42 return B_OK; 43 } 44 45 46 bool 47 arch_vm_translation_map_is_kernel_page_accessible(addr_t virtualAddress, 48 uint32 protection) 49 { 50 return false; 51 } 52