Skip to content
Snippets Groups Projects
Select Git revision
  • dualcore
  • ch3/leds
  • wip-bootstrap default
  • ch3/time
  • master
5 results

machine_mem.py

  • Paul Sokolovsky's avatar
    354d1752
    modmachine: Implement physical memory access using /dev/mem (Linux, etc). · 354d1752
    Paul Sokolovsky authored
    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.
    354d1752
    History
    modmachine: Implement physical memory access using /dev/mem (Linux, etc).
    Paul Sokolovsky authored
    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.