2 * Copyright 2007, Haiku Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
6 * François Revol <revol@free.fr>
11 #include <arch_040_mmu.h>
13 #define ARCH_M68K_MMU_TYPE 68040
15 #include "arch_vm_translation_map_impl.cpp"
21 rp
= (uint32
)rt
& ~((1 << 9) - 1);
31 struct m68k_vm_ops m68040_vm_ops
= {
32 _m68k_translation_map_get_pgdir
,
33 m68k_vm_translation_map_init_map
,
34 m68k_vm_translation_map_init_kernel_map_post_sem
,
35 m68k_vm_translation_map_init
,
36 m68k_vm_translation_map_init_post_area
,
37 m68k_vm_translation_map_init_post_sem
,
38 m68k_vm_translation_map_early_map
,
39 /*m68k_vm_translation_map_*/early_query
,
42 m68k_map_address_range
,
43 m68k_unmap_address_range
,
44 m68k_remap_address_range
46 m68k_vm_translation_map_is_kernel_page_accessible