/* * Copyright 2007, François Revol, revol@free.fr. * Distributed under the terms of the MIT License. * * Copyright 2003-2005, Axel Dörfler, axeld@pinc-software.de. * Distributed under the terms of the MIT License. * * Copyright 2001, Travis Geiselbrecht. All rights reserved. * Distributed under the terms of the NewOS License. */ #include #include #include #include #include #include //#include //#define TRACE_ARCH_VM #ifdef TRACE_ARCH_VM # define TRACE(x) dprintf x #else # define TRACE(x) ; #endif #warning ARM: WRITEME status_t arch_vm_init(kernel_args *args) { return B_OK; } status_t arch_vm_init2(kernel_args *args) { // int bats[8]; // int i; /**/ #warning ARM: WRITEME return B_OK; } status_t arch_vm_init_post_area(kernel_args *args) { return B_OK; } status_t arch_vm_init_end(kernel_args *args) { #warning ARM: WRITEME return B_OK; } status_t arch_vm_init_post_modules(kernel_args *args) { return B_OK; } void arch_vm_aspace_swap(struct VMAddressSpace *from, struct VMAddressSpace *to) { #warning ARM:WRITEME // m68k_set_pgdir(m68k_translation_map_get_pgdir(&to->TranslationMap())); } bool arch_vm_supports_protection(uint32 protection) { return true; } void arch_vm_unset_memory_type(VMArea *area) { } status_t arch_vm_set_memory_type(VMArea *area, phys_addr_t physicalBase, uint32 type) { if (type != 0) dprintf("%s: undefined type %lx!\n", __PRETTY_FUNCTION__, type); return B_OK; }