* Fix build, the APIC definitions are used in the bootloader too.
* Automatic whitespace cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36189 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -107,6 +107,8 @@
|
|||||||
#define IOAPIC_REDIR_TABLE 0x10
|
#define IOAPIC_REDIR_TABLE 0x10
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if !_BOOT_MODE
|
||||||
|
|
||||||
bool apic_available();
|
bool apic_available();
|
||||||
uint32 apic_read(uint32 offset);
|
uint32 apic_read(uint32 offset);
|
||||||
void apic_write(uint32 offset, uint32 data);
|
void apic_write(uint32 offset, uint32 data);
|
||||||
@@ -116,4 +118,6 @@ void apic_end_of_interrupt();
|
|||||||
status_t apic_init(kernel_args *args);
|
status_t apic_init(kernel_args *args);
|
||||||
status_t apic_per_cpu_init(kernel_args *args, int32 cpu);
|
status_t apic_per_cpu_init(kernel_args *args, int32 cpu);
|
||||||
|
|
||||||
|
#endif // !_BOOT_MODE
|
||||||
|
|
||||||
#endif /* _KERNEL_ARCH_x86_APIC_H */
|
#endif /* _KERNEL_ARCH_x86_APIC_H */
|
||||||
|
|||||||
@@ -18,8 +18,9 @@
|
|||||||
#include <safemode.h>
|
#include <safemode.h>
|
||||||
#include <boot/stage2.h>
|
#include <boot/stage2.h>
|
||||||
#include <boot/menu.h>
|
#include <boot/menu.h>
|
||||||
|
#include <arch/x86/apic.h>
|
||||||
#include <arch/x86/arch_acpi.h>
|
#include <arch/x86/arch_acpi.h>
|
||||||
#include <arch/x86/arch_apic.h>
|
#include <arch/x86/arch_smp.h>
|
||||||
#include <arch/x86/arch_system_info.h>
|
#include <arch/x86/arch_system_info.h>
|
||||||
|
|
||||||
#include "mmu.h"
|
#include "mmu.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user