Some header cleanups.

Renamed dbg_save_registers() to arch_...() since it's arch dependent.
Removed unnecessary dependencies to stage2.h.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3138 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2003-05-03 14:12:16 +00:00
parent ec639282c8
commit c17f45d123
13 changed files with 66 additions and 57 deletions
+8 -6
View File
@@ -2,18 +2,20 @@
** Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
** Distributed under the terms of the NewOS License.
*/
#ifndef _NEWOS_KERNEL_ARCH_SMP_H
#define _NEWOS_KERNEL_ARCH_SMP_H
#ifndef KERNEL_ARCH_SMP_H
#define KERNEL_ARCH_SMP_H
#include <kernel.h>
#include <stage2.h>
struct kernel_args;
// must match MAX_BOOT_CPUS in stage2.h
#define SMP_MAX_CPUS MAX_BOOT_CPUS
int arch_smp_init(kernel_args *ka);
int arch_smp_init(struct kernel_args *ka);
void arch_smp_send_ici(int target_cpu);
void arch_smp_send_broadcast_ici(void);
#endif
#endif /* KERNEL_ARCH_SMP_H */