arc: move interrupt controller to drivers/
Change-Id: I731c99062f4b5d2d4d1eb6a3c546ed5f3e494fa4 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
cfb9332c30
commit
08f8b65f25
5 changed files with 12 additions and 7 deletions
|
@ -1,7 +1,6 @@
|
||||||
obj-y = core/
|
obj-y = core/
|
||||||
obj-y += bsp/
|
obj-y += bsp/
|
||||||
obj-y += timer/
|
obj-y += timer/
|
||||||
obj-y += interrupt_controller/
|
|
||||||
obj-$(CONFIG_NSIM) += serial/
|
obj-$(CONFIG_NSIM) += serial/
|
||||||
obj-y += timer/
|
obj-y += timer/
|
||||||
|
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
ccflags-y +=-I$(srctree)/arch/arc/$(strip $(CONFIG_BSP_DIR))
|
|
||||||
asflags-y +=-I$(srctree)/arch/arc/$(strip $(CONFIG_BSP_DIR))
|
|
||||||
|
|
||||||
|
|
||||||
obj-y += arcv2_irq_unit.o
|
|
|
@ -48,9 +48,19 @@ config LOAPIC
|
||||||
config IOAPIC
|
config IOAPIC
|
||||||
bool "IOAPIC"
|
bool "IOAPIC"
|
||||||
default n
|
default n
|
||||||
depends on X86_32
|
depends on X86_32
|
||||||
help
|
help
|
||||||
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 ARCV2_INTERRUPT_UNIT
|
||||||
|
bool "ARCv2 Interrupt Unit"
|
||||||
|
default y
|
||||||
|
depends on ARC
|
||||||
|
help
|
||||||
|
The ARCv2 interrupt unit has 16 allocated exceptions associated with
|
||||||
|
vectors 0 to 15 and 240 interrupts associated with vectors 16 to 255.
|
||||||
|
The interrupt unit is optional in the ARCv2-based processors. When
|
||||||
|
building a processor, you can configure the processor to include an
|
||||||
|
interrupt unit. The ARCv2 interrupt unit is highly programmable.
|
||||||
endmenu
|
endmenu
|
||||||
|
|
|
@ -11,3 +11,4 @@ obj-$(CONFIG_LOAPIC) += system_apic.o
|
||||||
obj-$(CONFIG_LOAPIC) += loapic_intr.o
|
obj-$(CONFIG_LOAPIC) += loapic_intr.o
|
||||||
obj-$(CONFIG_IOAPIC) += ioapic_intr.o
|
obj-$(CONFIG_IOAPIC) += ioapic_intr.o
|
||||||
|
|
||||||
|
obj-$(CONFIG_ARCV2_INTERRUPT_UNIT) += arcv2_irq_unit.o
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue