mem(4)
NAME
mem − physical main memory
DESCRIPTION
The mem is a character special file that is an image of the physical main memory of the computer. It may be used, for example, to examine (and even to patch) the running system.
Byte addresses in mem are interpreted as physical memory addresses. References to non-existent locations cause errors to be returned.
Examining and patching device registers is likely to lead to unexpected results when read-only or write-only bits are present.
RESTRICTIONS
The mem memory file is accessed one byte at a time. This may be inappropriate for some device registers.
FILES
/dev/mem