Applied NewOS change 1914: moved APIC setup into the kernel due to a
problem with the APIC clock speed test. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6980 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -18,8 +18,9 @@ struct kernel_args;
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
int arch_smp_init(struct kernel_args *ka);
|
||||
void arch_smp_send_ici(int target_cpu);
|
||||
status_t arch_smp_init(struct kernel_args *args);
|
||||
status_t arch_smp_per_cpu_init(struct kernel_args *args, int32 cpu);
|
||||
void arch_smp_send_ici(int32 target_cpu);
|
||||
void arch_smp_send_broadcast_ici(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
#ifndef _KERNEL_ARCH_x86_SMP_PRIV_H
|
||||
#define _KERNEL_ARCH_x86_SMP_PRIV_H
|
||||
|
||||
#include <ktypes.h>
|
||||
#include <SupportDefs.h>
|
||||
|
||||
int i386_smp_interrupt(int vector);
|
||||
void arch_smp_ack_interrupt(void);
|
||||
int arch_smp_set_apic_timer(bigtime_t relative_timeout);
|
||||
status_t arch_smp_set_apic_timer(bigtime_t relativeTimeout);
|
||||
int arch_smp_clear_apic_timer(void);
|
||||
|
||||
#endif /* _KERNEL_ARCH_x86_SMP_PRIV_H */
|
||||
|
||||
@@ -26,7 +26,8 @@ enum {
|
||||
SMP_MSG_FLAG_SYNC,
|
||||
};
|
||||
|
||||
int smp_init(struct kernel_args *ka);
|
||||
status_t smp_init(struct kernel_args *args);
|
||||
status_t smp_per_cpu_init(struct kernel_args *args, int32 cpu);
|
||||
int smp_trap_non_boot_cpus(struct kernel_args *ka, int cpu);
|
||||
void smp_wake_up_all_non_boot_cpus(void);
|
||||
void smp_wait_for_ap_cpus(struct kernel_args *ka);
|
||||
|
||||
Reference in New Issue
Block a user