Definitions were doubled in vm_translation_map.h and arch/vm_translation_map.h.
The former now only contains the structure definitions, while the other one contains the arch-specific function prototypes (which do not have the arch_ prefix). Added a ToDo comment to remember cleaning this up one day. Made all headers C++ safe, simplified where possible. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5197 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -5,14 +5,21 @@
|
||||
#ifndef KERNEL_ARCH_VM_H
|
||||
#define KERNEL_ARCH_VM_H
|
||||
|
||||
|
||||
#include <vm.h>
|
||||
|
||||
struct kernel_args;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
int arch_vm_init(struct kernel_args *ka);
|
||||
int arch_vm_init2(struct kernel_args *ka);
|
||||
int arch_vm_init_endvm(struct kernel_args *ka);
|
||||
void arch_vm_aspace_swap(vm_address_space *aspace);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* KERNEL_ARCH_VM_H */
|
||||
|
||||
Reference in New Issue
Block a user