From 5aacd7f134726787083e564fe638a5ca960f304b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Tue, 25 May 2004 16:33:47 +0000 Subject: [PATCH] Fixed the PPC kernel build; now in sync again with the changes made to arch/thread.h and arch/smp.h. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7641 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/core/arch/ppc/arch_smp.c | 19 +++++++++++++------ src/kernel/core/arch/ppc/arch_thread.c | 3 ++- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/src/kernel/core/arch/ppc/arch_smp.c b/src/kernel/core/arch/ppc/arch_smp.c index a94271f9c3..dd590b8a98 100755 --- a/src/kernel/core/arch/ppc/arch_smp.c +++ b/src/kernel/core/arch/ppc/arch_smp.c @@ -1,6 +1,6 @@ /* -** Copyright 2001, Travis Geiselbrecht. All rights reserved. -** Distributed under the terms of the NewOS License. +** Copyright 2004, Axel Dörfler, axeld@pinc-software.de +** Distributed under the terms of the OpenBeOS License. */ @@ -11,15 +11,22 @@ #include -int -arch_smp_init(kernel_args *ka) +status_t +arch_smp_init(kernel_args *args) { - return 0; + return B_OK; +} + + +status_t +arch_smp_per_cpu_init(kernel_args *args, int32 cpu) +{ + return B_OK; } void -arch_smp_send_ici(int target_cpu) +arch_smp_send_ici(int32 target_cpu) { panic("called arch_smp_send_ici!\n"); } diff --git a/src/kernel/core/arch/ppc/arch_thread.c b/src/kernel/core/arch/ppc/arch_thread.c index f3a1f4366f..6ccefe6279 100755 --- a/src/kernel/core/arch/ppc/arch_thread.c +++ b/src/kernel/core/arch/ppc/arch_thread.c @@ -109,9 +109,10 @@ arch_thread_enter_uspace(struct thread *thread, addr entry, void *arg1, void *ar } -void +status_t arch_setup_signal_frame(struct thread *thread, struct sigaction *sa, int sig, int sigMask) { + return B_ERROR; }