mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
Improve pci and platform device more
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
Only teted for x86.
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
|
|
||||||
/pci.sh
|
/pci.sh
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
Only works for ARM.
|
Only works for ARM.
|
||||||
|
|
||||||
|
Uses the hw/misc/lkmc_platform_device.c minimal device added in our QEMU fork.
|
||||||
|
|
||||||
|
See: https://stackoverflow.com/questions/28315265/how-to-add-a-new-device-in-qemu-source-code/44612957#44612957
|
||||||
|
|
||||||
Expected outcome after insmod:
|
Expected outcome after insmod:
|
||||||
|
|
||||||
- QEMU reports MMIO with printfs
|
- QEMU reports MMIO with printfs
|
||||||
|
|||||||
2
linux
2
linux
Submodule linux updated: 54e66cc228...361bb62367
Reference in New Issue
Block a user