Kconfig 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. menuconfig RT_USING_PIC
  2. bool "Using Programmable Interrupt Controller (PIC)"
  3. select RT_USING_ADT
  4. select RT_USING_ADT_BITMAP
  5. depends on RT_USING_DM
  6. default n
  7. config RT_USING_PIC_STATISTICS
  8. bool "Enable ISR execution time statistics"
  9. depends on RT_USING_PIC
  10. depends on RT_USING_INTERRUPT_INFO
  11. default n
  12. config MAX_HANDLERS
  13. int "IRQ max handlers"
  14. depends on RT_USING_PIC
  15. range 1 4294967294
  16. default 256
  17. config RT_PIC_ARM_GIC
  18. bool "ARM GICv2/v1"
  19. depends on RT_USING_PIC
  20. select RT_USING_OFW
  21. default n
  22. config RT_PIC_ARM_GIC_V2M
  23. bool "ARM GIC V2M" if RT_PIC_ARM_GIC && RT_PCI_MSI
  24. depends on RT_USING_OFW
  25. default n
  26. config RT_PIC_ARM_GIC_V3
  27. bool "ARM GICv3"
  28. depends on RT_USING_PIC
  29. select RT_USING_OFW
  30. default n
  31. config RT_PIC_ARM_GIC_V3_ITS
  32. bool "ARM GICv3 ITS (Interrupt Translation Service)" if RT_PIC_ARM_GIC_V3 && RT_PCI_MSI
  33. depends on RT_USING_OFW
  34. select RT_USING_ADT_REF
  35. default n
  36. config RT_PIC_ARM_GIC_V3_ITS_IRQ_MAX
  37. int "IRQ maximum used"
  38. depends on RT_PIC_ARM_GIC_V3_ITS
  39. default 127 if ARCH_CPU_64BIT
  40. default 63
  41. help
  42. Recommended to be based on the bit length (full bits) of maximum usage.
  43. config RT_PIC_ARM_GIC_MAX_NR
  44. int
  45. depends on RT_USING_PIC
  46. depends on RT_PIC_ARM_GIC
  47. default 2 if SOC_REALVIEW
  48. default 1