from smp_priv.h and stage2_priv.h. Created a new file smp_apic.h which now contains those definitions. Made the APIC_xxx register offsets only base offsets (without referencing a particular variable). Other small cleanups (i.e. "unsigned int" to uint32). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2604 a95241bf-73f2-0310-859d-f6bbb57e9c96
15 lines
442 B
C
Executable File
15 lines
442 B
C
Executable File
/*
|
|
** Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
|
|
** Distributed under the terms of the NewOS License.
|
|
*/
|
|
#ifndef _KERNEL_ARCH_x86_SMP_PRIV_H
|
|
#define _KERNEL_ARCH_x86_SMP_PRIV_H
|
|
|
|
int i386_smp_interrupt(int vector);
|
|
void arch_smp_ack_interrupt(void);
|
|
int arch_smp_set_apic_timer(bigtime_t relative_timeout);
|
|
int arch_smp_clear_apic_timer(void);
|
|
int smp_intercpu_int_handler(void);
|
|
|
|
#endif /* _KERNEL_ARCH_x86_SMP_PRIV_H */
|