BSD 4_4 development
[unix-history] / usr / share / man / cat4 / sparc / mem.0
MEM(4) BSD Programmer's Manual (SPARC Architecture) MEM(4)
N\bNA\bAM\bME\bE
m\bme\bem\bm, k\bkm\bme\bem\bm - main memory
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
The file /\b/d\bde\bev\bv/\b/m\bme\bem\bm is an interface to the physical memory of the computer.
Byte offsets in this file are interpreted as physical memory addresses.
Reading and writing this file is equivalent to reading and writing memory
itself. An error will be returned if an attempt is made to reference an
offset outside of /\b/d\bde\bev\bv/\b/m\bme\bem\bm.
Kernel virtual memory is accessed via the file /\b/d\bde\bev\bv/\b/k\bkm\bme\bem\bm in the same man-
ner as /\b/d\bde\bev\bv/\b/m\bme\bem\bm. Only kernel virtual addresses that are currently mapped
to memory are allowed.
S\bSP\bPA\bAR\bRC\bC
On the SPARC, physical memory may be discontiguous; kernel virtual memory
begins at 0xf8000000.
F\bFI\bIL\bLE\bES\bS
/dev/mem
/dev/kmem
H\bHI\bIS\bST\bTO\bOR\bRY\bY
The files m\bme\bem\bm and k\bkm\bme\bem\bm appeared in Version 6 AT&T UNIX.
4.4BSD June 5, 1993 1