BSD 4_4 development
[unix-history] / usr / share / man / cat4 / hp300 / kmem.0
MEM(4) BSD Programmer's Manual (HP300 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.
H\bHP\bP3\b30\b00\b0
On the HP300, the last byte of physical memory is always 0xFFFFFFFF.
Therefore, on an HP300 with 8Mb of memory, physical memory would start at
0xFF800000. On the HP300, kernel virtual memory runs from 0 to about
0x2400000.
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