dummy-irq

This commit is contained in:
Ciro Santilli
2017-07-09 11:31:37 +01:00
parent 1cd55ebf53
commit 10d84a2d54
2 changed files with 20 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
# Changes to this file are automatically used in the new kernel
# after ./run, no need to do anything different.
# Changes to this file are automatically trigger kernel reconfigures
# even without using the linux-reconfigure target.
CONFIG_DEBUG_FS=y
CONFIG_DEBUG_INFO=y
@@ -108,3 +108,19 @@ CONFIG_ARM_AMBA=y
CONFIG_GPIOLIB=y
CONFIG_GPIO_SYSFS=y
CONFIG_GPIO_PL061=y
# run -a arm
#
# In target:
#
# modprobe dummy-irq irq=34
# insmod /platform_device.ko
#
# Outcome:
#
# lkmc_platform_device_write offset=0 value=12345678 size=4
# dummy-irq: interrupt occurred on IRQ 34
#
# When the device generates an IRQ,
# the dummy module also snoops it.
CONFIG_DUMMY_IRQ=m