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:
parent
7c0a93573b
commit
97ec781e94
|
@ -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 */
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue