From 826e403de59cf7e7431535689447a51df4626381 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Mon, 23 Jun 2008 01:53:36 +0000 Subject: [PATCH] Stubbed commpage stuff for ppc. Someone writeme please... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26093 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/kernel/arch/ppc/Jamfile | 1 + src/system/kernel/arch/ppc/arch_commpage.cpp | 30 ++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 src/system/kernel/arch/ppc/arch_commpage.cpp diff --git a/src/system/kernel/arch/ppc/Jamfile b/src/system/kernel/arch/ppc/Jamfile index 4b972da04d..504c3f695f 100644 --- a/src/system/kernel/arch/ppc/Jamfile +++ b/src/system/kernel/arch/ppc/Jamfile @@ -7,6 +7,7 @@ SEARCH_SOURCE += [ FDirName $(SUBDIR) $(DOTDOT) generic ] ; KernelMergeObject kernel_arch_ppc.o : arch_atomic.c + arch_commpage.cpp arch_cpu.cpp arch_cpu_asm.S arch_debug_console.cpp diff --git a/src/system/kernel/arch/ppc/arch_commpage.cpp b/src/system/kernel/arch/ppc/arch_commpage.cpp new file mode 100644 index 0000000000..b852143ad2 --- /dev/null +++ b/src/system/kernel/arch/ppc/arch_commpage.cpp @@ -0,0 +1,30 @@ +/* + * Copyright 2007, Travis Geiselbrecht. All rights reserved. + * Distributed under the terms of the MIT License. + */ + + +#include + +#include + +#include + +#include +#include + + +// user syscall assembly stubs +extern "C" void _user_syscall_int(void); +extern unsigned int _user_syscall_int_end; +extern "C" void _user_syscall_sysenter(void); +extern unsigned int _user_syscall_sysenter_end; + + +status_t +arch_commpage_init(void) +{ +#error WRITEME + return B_OK; +} +