mem(7)mem(7)NAMEmem - physical memory interface
DESCRIPTION
The mem character special device file provides access to physical main
memory.
Byte addresses in mem are equivalent to physical memory in RAM. Refer‐
ences to I/O space addresses or to nonexistent RAM will return errors.
Write accesses to console or PAL memory will also return errors.
RESTRICTIONS
Because memory is read and written in aligned quadwords (eight contigu‐
ous bytes), writing fewer than all the bytes in an aligned quadword is
a read-modify-write operation that is not protected against concurrent
writes to the same quadword.
FILES
/dev/mem
SEE ALSOkmem(7)mem(7)