Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aztechsk/rdmem
rdmem is a Linux kernel module enabling remapping and reading of the hardware address space of the processor into kernel memory.
https://github.com/aztechsk/rdmem
linux-kernel lkm
Last synced: 5 days ago
JSON representation
rdmem is a Linux kernel module enabling remapping and reading of the hardware address space of the processor into kernel memory.
- Host: GitHub
- URL: https://github.com/aztechsk/rdmem
- Owner: aztechsk
- License: other
- Created: 2024-04-11T07:45:34.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-04-11T07:51:32.000Z (6 months ago)
- Last Synced: 2024-09-25T18:59:07.390Z (8 days ago)
- Topics: linux-kernel, lkm
- Language: C
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rdmem
**rdmem** is a Linux kernel module enabling remapping and reading of the hardware address space of the processor into kernel virtual memory. Memory can be read through the /dev/rdmem interface in userspace.
**rdmem/lkm/rdmem.c** - kernel module.
**rdmem/rdmem/rdmem.c** - userspace application for reading data from /dev/rdmem device file.Example reads SAM9N12's *General Purpose Backup Register* peripheral (hw address 0xFFFFFE60):
$ rdmem -a 0xFFFFFE60 -s 20 -b 32
Options: address=0x00000000FFFFFE60 size=20 read=B32.
0102.0304 0506.0708 0910.1112 1314.15AA
0000.0000
---------
$ cat /proc/iomem
fffff800-fffff9ff : fffff800.gpio gpio@fffff800
fffffa00-fffffbff : fffffa00.gpio gpio@fffffa00
fffffe00-fffffe0f : fffffe00.reset-controller reset-controller@fffffe00
fffffe60-fffffe73 : rdmem
$