|
|
1.1 root 1: .\" Copyright (c) 1990 Regents of the University of California.
2: .\" All rights reserved. The Berkeley software License Agreement
3: .\" specifies the terms and conditions for redistribution.
4: .\"
5: .\" @(#)mem.4 5.1 (Berkeley) 6/29/90
6: .\"
7: .TH MEM 4 "June 29, 1990"
8: .UC 7
9: .SH NAME
10: mem, kmem \- main memory
11: .SH DESCRIPTION
12: .lg
13: .I Mem
14: is a special file that is an image of the main memory
15: of the computer.
16: It may be used, for example, to examine
17: (and even to patch) the system.
18: .PP
19: Byte addresses in
20: .I mem
21: are interpreted as physical memory addresses.
22: References to non-existent locations cause errors to be returned.
23: On the HP300, the last byte of physical memory is always
24: 0xFFFFFFFF.
25: Hence, on an HP300 with 8Mb of memory, physical memory would
26: start at 0xFF800000.
27: .PP
28: The file
29: .I kmem
30: is the same as
31: .I mem
32: except that kernel virtual memory
33: rather than physical memory is accessed.
34: Only kernel virtual addresses that are mapped to memory are allowed.
35: On the HP300, kernel virtual memory runs from 0 to about 0x2400000.
36: .SH FILES
37: /dev/mem
38: .br
39: /dev/kmem
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.