2003-10-17 17:58:41 +04:00
|
|
|
/*
|
|
|
|
** Copyright 2003, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
|
|
|
|
** Distributed under the terms of the OpenBeOS License.
|
|
|
|
*/
|
|
|
|
#ifndef _KERNEL_ARCH_PPC_VM_TRANSLATION_MAP_H
|
|
|
|
#define _KERNEL_ARCH_PPC_VM_TRANSLATION_MAP_H
|
|
|
|
|
|
|
|
#include <arch/vm_translation_map.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
2006-01-02 06:30:58 +03:00
|
|
|
extern "C" {
|
2003-10-17 17:58:41 +04:00
|
|
|
#endif
|
2006-01-02 06:30:58 +03:00
|
|
|
|
2010-01-14 06:26:12 +03:00
|
|
|
void ppc_translation_map_change_asid(VMTranslationMap *map);
|
2003-10-17 17:58:41 +04:00
|
|
|
|
2006-01-02 06:30:58 +03:00
|
|
|
status_t ppc_map_address_range(addr_t virtualAddress, addr_t physicalAddress,
|
|
|
|
size_t size);
|
|
|
|
void ppc_unmap_address_range(addr_t virtualAddress, size_t size);
|
|
|
|
status_t ppc_remap_address_range(addr_t *virtualAddress, size_t size,
|
|
|
|
bool unmap);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2003-10-17 17:58:41 +04:00
|
|
|
#endif /* _KERNEL_ARCH_PPC_VM_TRANSLATION_MAP_H */
|