x86/bsp: move local apic driver to drivers/interrupt_controller

Change-Id: I69350493c3b94d754f89fb37eaebe50a8076384b
Signed-off-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
This commit is contained in:
Dirk Brandewie 2015-06-05 09:11:24 -07:00 committed by Anas Nashif
commit 124a27f210
7 changed files with 11 additions and 8 deletions

View file

@ -7,6 +7,5 @@ ifneq ($(CONFIG_CLFLUSH_INSTRUCTION_SUPPORTED),y)
obj-y += cache_s.o
endif
obj-$(CONFIG_LOAPIC) += systemApic.o
obj-$(CONFIG_CLFLUSH_INSTRUCTION_SUPPORTED) += cache.o
obj-$(CONFIG_X86_TSC_RANDOM_GENERATOR) += rand32-timestamp.o

View file

@ -39,10 +39,4 @@ config IOAPIC
This option signifies that the target has an IO-APIC device. This
capability allows IO-APIC-dependent code to be included.
config LOAPIC
bool "LOAPIC"
default n
help
This option selects local APIC as the interrupt controller.
endmenu

View file

@ -2,5 +2,4 @@ ccflags-y +=-I$(srctree)/include/drivers
ccflags-y +=-I$(srctree)/arch/x86
ccflags-y +=-I$(srctree)/arch/$(ARCH)/$(strip $(CONFIG_BSP_DIR))
obj-$(CONFIG_LOAPIC) += loApicIntr.o
obj-$(CONFIG_IOAPIC) += ioApicIntr.o

View file

@ -38,4 +38,11 @@ config PIC
default n
depends on X86_32
config LOAPIC
bool "LOAPIC"
default n
depends on X86_32
help
This option selects local APIC as the interrupt controller.
endmenu

View file

@ -4,5 +4,9 @@ asflags-y +=-I$(srctree)/arch/x86/$(subst $(DQUOTE),,$(CONFIG_BSP_DIR))
obj-${CONFIG_PIC}${CONFIG_SHUTOFF_PIC} = i8259.o
obj-$(CONFIG_PIC) += i8259_boi.o
obj-$(CONFIG_PIC) += system_pic.o
obj-$(CONFIG_LOAPIC) += system_apic.o
obj-$(CONFIG_LOAPIC) += loapic_intr.o