2003-10-17 17:58:41 +04:00
|
|
|
/*
|
|
|
|
** Copyright 2003, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
|
2017-02-10 06:03:59 +03:00
|
|
|
** Distributed under the terms of the MIT License.
|
2003-10-17 17:58:41 +04:00
|
|
|
*/
|
|
|
|
#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
|
|
|
|
2010-05-26 01:34:08 +04:00
|
|
|
status_t ppc_map_address_range(addr_t virtualAddress,
|
|
|
|
phys_addr_t physicalAddress, size_t size);
|
2006-01-02 06:30:58 +03:00
|
|
|
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 */
|