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:
parent
526e132eb1
commit
124a27f210
7 changed files with 11 additions and 8 deletions
|
@ -7,6 +7,5 @@ ifneq ($(CONFIG_CLFLUSH_INSTRUCTION_SUPPORTED),y)
|
||||||
obj-y += cache_s.o
|
obj-y += cache_s.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
obj-$(CONFIG_LOAPIC) += systemApic.o
|
|
||||||
obj-$(CONFIG_CLFLUSH_INSTRUCTION_SUPPORTED) += cache.o
|
obj-$(CONFIG_CLFLUSH_INSTRUCTION_SUPPORTED) += cache.o
|
||||||
obj-$(CONFIG_X86_TSC_RANDOM_GENERATOR) += rand32-timestamp.o
|
obj-$(CONFIG_X86_TSC_RANDOM_GENERATOR) += rand32-timestamp.o
|
||||||
|
|
|
@ -39,10 +39,4 @@ config IOAPIC
|
||||||
This option signifies that the target has an IO-APIC device. This
|
This option signifies that the target has an IO-APIC device. This
|
||||||
capability allows IO-APIC-dependent code to be included.
|
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
|
endmenu
|
||||||
|
|
|
@ -2,5 +2,4 @@ ccflags-y +=-I$(srctree)/include/drivers
|
||||||
ccflags-y +=-I$(srctree)/arch/x86
|
ccflags-y +=-I$(srctree)/arch/x86
|
||||||
ccflags-y +=-I$(srctree)/arch/$(ARCH)/$(strip $(CONFIG_BSP_DIR))
|
ccflags-y +=-I$(srctree)/arch/$(ARCH)/$(strip $(CONFIG_BSP_DIR))
|
||||||
|
|
||||||
obj-$(CONFIG_LOAPIC) += loApicIntr.o
|
|
||||||
obj-$(CONFIG_IOAPIC) += ioApicIntr.o
|
obj-$(CONFIG_IOAPIC) += ioApicIntr.o
|
||||||
|
|
|
@ -38,4 +38,11 @@ config PIC
|
||||||
default n
|
default n
|
||||||
depends on X86_32
|
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
|
endmenu
|
||||||
|
|
|
@ -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}${CONFIG_SHUTOFF_PIC} = i8259.o
|
||||||
|
|
||||||
obj-$(CONFIG_PIC) += i8259_boi.o
|
obj-$(CONFIG_PIC) += i8259_boi.o
|
||||||
obj-$(CONFIG_PIC) += system_pic.o
|
obj-$(CONFIG_PIC) += system_pic.o
|
||||||
|
obj-$(CONFIG_LOAPIC) += system_apic.o
|
||||||
|
obj-$(CONFIG_LOAPIC) += loapic_intr.o
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue