mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-26 19:51:35 +01:00
Mention devmem2 on platform device
This commit is contained in:
@@ -9,6 +9,12 @@ Expected outcome after insmod:
|
|||||||
|
|
||||||
- QEMU reports MMIO with printfs
|
- QEMU reports MMIO with printfs
|
||||||
- IRQs are generated and handled by this module, which logs to dmesg
|
- IRQs are generated and handled by this module, which logs to dmesg
|
||||||
|
|
||||||
|
Also without insmodding this module, try:
|
||||||
|
|
||||||
|
devmem2 0x101e9000 w 0x12345678
|
||||||
|
|
||||||
|
which touches from userland through /dev/mem.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/init.h>
|
#include <linux/init.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user