1 /* 2 * Copyright 2019 Haiku, Inc. All Rights Reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 #include <KernelExport.h> 6 7 #include <kernel.h> 8 #include <boot/kernel_args.h> 9 10 #include <vm/vm.h> 11 #include <vm/vm_types.h> 12 #include <arch/vm.h> 13 14 15 status_t 16 arch_vm_init(kernel_args *args) 17 { 18 return B_OK; 19 } 20 21 22 status_t 23 arch_vm_init2(kernel_args *args) 24 { 25 return B_OK; 26 } 27 28 29 status_t 30 arch_vm_init_post_area(kernel_args *args) 31 { 32 return B_OK; 33 } 34 35 36 status_t 37 arch_vm_init_end(kernel_args *args) 38 { 39 return B_OK; 40 } 41 42 43 status_t 44 arch_vm_init_post_modules(kernel_args *args) 45 { 46 return B_OK; 47 } 48 49 50 void 51 arch_vm_aspace_swap(struct VMAddressSpace *from, struct VMAddressSpace *to) 52 { 53 } 54 55 56 bool 57 arch_vm_supports_protection(uint32 protection) 58 { 59 return false; 60 } 61 62 63 void 64 arch_vm_unset_memory_type(VMArea *area) 65 { 66 } 67 68 69 status_t 70 arch_vm_set_memory_type(VMArea *area, phys_addr_t physicalBase, uint32 type) 71 { 72 return B_OK; 73 } 74