|
|
1.1 root 1: .\" Copyright (c) 1980 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 6.2 (Berkeley) 5/16/86
6: .\"
7: .TH MEM 4 "May 16, 1986"
8: .UC 4
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: .PP
24: The file
25: .I kmem
26: is the same as
27: .I mem
28: except that kernel virtual memory
29: rather than physical memory is accessed.
30: Only kernel virtual addresses that are mapped to memory are allowed.
31: The file
32: .I kUmem
33: also refers to kernel virtual memory,
34: but may be used to access areas mapped to UNIBUS address space
35: and other I/O areas.
36: It forces all accesses to use word (short integer) accesses.
37: Examining and patching device registers is likely
38: to lead to unexpected results when read-only or write-only
39: bits are present.
40: .PP
41: On VAX 11/780 the I/O space begins at physical address 20000000(16);
42: on an 11/750 I/O space addresses are of the form fxxxxx(16).
43: On all VAX'en
44: per-process data for the current process is UPAGES long, and ends at virtual
45: address 80000000(16).
46: .SH FILES
47: /dev/mem
48: .br
49: /dev/kmem
50: .br
51: /dev/kUmem
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.