mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-28 20:44:26 +01:00
virt_to_phys only works for kmalloc
This commit is contained in:
@@ -54,7 +54,11 @@ BR2_PACKAGE_HOST_DTC=y
|
||||
#
|
||||
# xp/4 0x101e9000
|
||||
#
|
||||
# Uses /dev/mem:
|
||||
# Uses /dev/mem.
|
||||
#
|
||||
# Upstream: http://free-electrons.com/pub/mirror/devmem2.c
|
||||
#
|
||||
# See also:
|
||||
#
|
||||
# - https://superuser.com/questions/71389/what-is-dev-mem/1214662#1214662
|
||||
# - https://unix.stackexchange.com/questions/4948/shell-command-to-read-device-registers
|
||||
|
||||
Reference in New Issue
Block a user