1
0

Kconfig 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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_KTIME
  11. depends on RT_USING_INTERRUPT_INFO
  12. default n
  13. config MAX_HANDLERS
  14. int "IRQ max handlers"
  15. depends on RT_USING_PIC
  16. range 1 4294967294
  17. default 256
  18. config RT_PIC_ARM_GIC
  19. bool "ARM GICv2/v1"
  20. depends on RT_USING_PIC
  21. select RT_USING_OFW
  22. default n
  23. config RT_PIC_ARM_GIC_V2M
  24. bool "ARM GIC V2M" if RT_PIC_ARM_GIC && RT_PCI_MSI
  25. depends on RT_USING_OFW
  26. default n
  27. config RT_PIC_ARM_GIC_V3
  28. bool "ARM GICv3"
  29. depends on RT_USING_PIC
  30. select RT_USING_OFW
  31. default n
  32. config RT_PIC_ARM_GIC_V3_ITS
  33. bool "ARM GICv3 ITS (Interrupt Translation Service)" if RT_PIC_ARM_GIC_V3 && RT_PCI_MSI
  34. depends on RT_USING_OFW
  35. select RT_USING_ADT_REF
  36. default n
  37. config RT_PIC_ARM_GIC_V3_ITS_IRQ_MAX
  38. int "IRQ maximum used"
  39. depends on RT_PIC_ARM_GIC_V3_ITS
  40. default 127 if ARCH_CPU_64BIT
  41. default 63
  42. help
  43. Recommended to be based on the bit length (full bits) of maximum usage.
  44. config RT_PIC_ARM_GIC_MAX_NR
  45. int
  46. depends on RT_USING_PIC
  47. depends on RT_PIC_ARM_GIC
  48. default 2 if SOC_REALVIEW
  49. default 1