-
- Downloads
modmachine: Implement physical memory access using /dev/mem (Linux, etc).
This requires root access. And on recent Linux kernels, with CONFIG_STRICT_DEVMEM option enabled, only address ranges listed in /proc/iomem can be accessed. The above compiled-time option can be however overriden with boot-time option "iomem=relaxed". This also removed separate read/write paths - there unlikely would be a case when they're different.
Showing
- extmod/modmachine.c 31 additions, 9 deletionsextmod/modmachine.c
- tests/extmod/machine1.py 0 additions, 14 deletionstests/extmod/machine1.py
- tests/extmod/machine1.py.exp 0 additions, 3 deletionstests/extmod/machine1.py.exp
- tests/extmod/machine_mem.py 16 additions, 0 deletionstests/extmod/machine_mem.py
- tests/extmod/machine_mem.py.exp 1 addition, 0 deletionstests/extmod/machine_mem.py.exp
- unix/mpconfigport.h 5 additions, 0 deletionsunix/mpconfigport.h
Loading
Please register or sign in to comment