mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-27 12:04:27 +01:00
irq: move doc to readme.
Cleanup, interlink, retest and update observations.
This commit is contained in:
@@ -78,6 +78,7 @@ CONFIG_VIRTIO_NET=y
|
||||
|
||||
# Misc
|
||||
CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
|
||||
CONFIG_DUMMY_IRQ=m
|
||||
|
||||
## Networking
|
||||
|
||||
@@ -177,21 +178,6 @@ CONFIG_GPIOLIB=y
|
||||
CONFIG_GPIO_SYSFS=y
|
||||
CONFIG_GPIO_PL061=y
|
||||
|
||||
# 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.
|
||||
#
|
||||
# The IRQ number 34 was found by via dmesg on a previous "insmod /platform_device.ko".
|
||||
CONFIG_DUMMY_IRQ=m
|
||||
|
||||
# Like CONFIG_X86_PTDUMP for ARM.
|
||||
CONFIG_ARM64_PTDUMP=y
|
||||
|
||||
|
||||
Reference in New Issue
Block a user