diff options
| author | Paul Sokolovsky | 2015-07-06 00:08:33 +0300 |
|---|---|---|
| committer | Paul Sokolovsky | 2015-07-08 11:37:23 +0300 |
| commit | 354d17523f599746a84e5b22fa670c9910137947 (patch) | |
| tree | bfea06b4d85306803cd9a9bb0a3ec6bcdfd25d6c /tests/extmod/machine_mem.py.exp | |
| parent | a0a3de60becb0147be209ab5a32139ea9cec3d2e (diff) | |
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.
Diffstat (limited to 'tests/extmod/machine_mem.py.exp')
| -rw-r--r-- | tests/extmod/machine_mem.py.exp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/extmod/machine_mem.py.exp b/tests/extmod/machine_mem.py.exp new file mode 100644 index 000000000..371f8fa44 --- /dev/null +++ b/tests/extmod/machine_mem.py.exp @@ -0,0 +1 @@ +0xaa55 |
