xref: /haiku/headers/private/kernel/arch/ppc/arch_vm_translation_map.h (revision ed24eb5ff12640d052171c6a7feba37fab8a75d1)
1 /*
2 ** Copyright 2003, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 ** Distributed under the terms of the MIT License.
4 */
5 #ifndef _KERNEL_ARCH_PPC_VM_TRANSLATION_MAP_H
6 #define _KERNEL_ARCH_PPC_VM_TRANSLATION_MAP_H
7 
8 #include <arch/vm_translation_map.h>
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 void ppc_translation_map_change_asid(VMTranslationMap *map);
15 
16 status_t ppc_map_address_range(addr_t virtualAddress,
17 	phys_addr_t physicalAddress, size_t size);
18 void ppc_unmap_address_range(addr_t virtualAddress, size_t size);
19 status_t ppc_remap_address_range(addr_t *virtualAddress, size_t size,
20 	bool unmap);
21 
22 #ifdef __cplusplus
23 }
24 #endif
25 
26 #endif /* _KERNEL_ARCH_PPC_VM_TRANSLATION_MAP_H */
27