Added (empty) memory type functions to the PPC port.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15521 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2005-12-12 17:13:15 +00:00
parent 7c0a93573b
commit 97ec781e94
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,16 @@
/*
* Copyright 2005, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _KERNEL_ARCH_PPC_VM_TYPES_H
#define _KERNEL_ARCH_PPC_VM_TYPES_H
#include <SupportDefs.h>
struct arch_vm_memory_type {
uint32 dummy;
};
#endif /* _KERNEL_ARCH_PPC_6VM_TYPES_H */

View File

@ -112,3 +112,24 @@ arch_vm_supports_protection(uint32 protection)
return true;
}
void
arch_vm_init_area(vm_area *area)
{
}
void
arch_vm_unset_memory_type(vm_area *area)
{
}
status_t
arch_vm_set_memory_type(vm_area *area, uint32 type)
{
if (type == 0)
return B_OK;
return B_ERROR;
}