From 97ec781e949749d7e6322936dd7acc2132fdddb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 12 Dec 2005 17:13:15 +0000 Subject: [PATCH] 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 --- .../private/kernel/arch/ppc/arch_vm_types.h | 16 ++++++++++++++ src/system/kernel/arch/ppc/arch_vm.cpp | 21 +++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 headers/private/kernel/arch/ppc/arch_vm_types.h diff --git a/headers/private/kernel/arch/ppc/arch_vm_types.h b/headers/private/kernel/arch/ppc/arch_vm_types.h new file mode 100644 index 0000000000..a92b26f3f5 --- /dev/null +++ b/headers/private/kernel/arch/ppc/arch_vm_types.h @@ -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 + + +struct arch_vm_memory_type { + uint32 dummy; +}; + +#endif /* _KERNEL_ARCH_PPC_6VM_TYPES_H */ diff --git a/src/system/kernel/arch/ppc/arch_vm.cpp b/src/system/kernel/arch/ppc/arch_vm.cpp index 3c813a4805..4e7865ca13 100644 --- a/src/system/kernel/arch/ppc/arch_vm.cpp +++ b/src/system/kernel/arch/ppc/arch_vm.cpp @@ -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; +}