File: README

package info (click to toggle)
rtlinux 2.0rel-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 2,068 kB
  • ctags: 1,178
  • sloc: ansic: 7,169; makefile: 779; sh: 89
file content (12 lines) | stat: -rw-r--r-- 444 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
This example demonstrates how physical memory can
be accessed from both Linux and RTL tasks.

rtp.c is compiled as both a module (rtp.o)
and an ordinary Linux program (rtpu). Both programs
print the contents of memory starting from address 0xA0000.

Note: Only memory that was marked as "reserved" by Linux
(e.g., the memory in between 0xA0000 and 0x100000) can be
mapped from user space with /dev/mem.

Michael Barabanov <baraban@fsmlabs.com>