xref: /csrg-svn/share/man/man4/man4.vax/mem.4 (revision 61599)
1*61599Sbostic.\" Copyright (c) 1980, 1991, 1993
2*61599Sbostic.\"	The Regents of the University of California.  All rights reserved.
320677Smckusick.\"
447674Scael.\" %sccs.include.redist.man%
520677Smckusick.\"
6*61599Sbostic.\"     @(#)mem.4	8.1 (Berkeley) 06/05/93
747674Scael.\"
847674Scael.Dd
947674Scael.Dt MEM 4 vax
1047674Scael.Os BSD 4
1147674Scael.Sh NAME
1247674Scael.Nm mem ,
1347674Scael.Nm kmem ,
1447674Scael.Nm kUmem
1547674Scael.Nd memory files
1647674Scael.Sh DESCRIPTION
1747674ScaelThe special file
1847674Scael.Nm /dev/mem
1947674Scaelis an interface to the physical memory of the computer.
2047674ScaelByte offsets in this file are interpreted as physical memory addresses.
2147674ScaelReading and writing this file is equivalent to reading and writing
2247674Scaelmemory itself.
2347674ScaelOnly offsets within the bounds of
2447674Scael.Nm /dev/mem
2547674Scaelare allowed.
2647674Scael.Pp
2747674ScaelKernel virtual memory is accessed through the interface
2847674Scael.Nm /dev/kmem
2947674Scaelin the same manner as
3047674Scael.Nm /dev/mem .
3147674ScaelOnly kernel virtual addresses that are currently mapped to memory are allowed.
3247674Scael.Pp
3320677SmckusickThe file
3447674Scael.Nm /dev/kUmem
3528257Skarelsalso refers to kernel virtual memory,
3647674Scaelbut may be used to access areas mapped to
3747674Scael.Tn UNIBUS
3847674Scaeladdress space
3947674Scaeland other
4047674Scael.Tn I/O
4147674Scaelareas.
4228257SkarelsIt forces all accesses to use word (short integer) accesses.
4347674Scael.Pp
4447674ScaelOn the
4547674Scael.Tn VAX
4647674Scael11/780,
4747674Scaelthe
4847674Scael.Tn I/O
4947674Scaelspace base address is
5047674Scael20000000(16);
5147674Scaelon an 11/750
5247674Scaelthe
5347674Scael.Tn I/O space addresses are of the form fxxxxx(16).
5447674ScaelOn all
5547674Scael.Tn VAX Ns 'en
5647674Scaelthe
5747674Scaelper-process data
5847674Scaelsize
5947674Scaelfor the current process
6047674Scaelis
6147674Scael.Dv UPAGES
6247674Scaellong and ends at the virtual address 80000000(16).
6347674Scael.Sh FILES
6447674Scael.Bl -tag -width Pa -compact
6547674Scael.It Pa /dev/mem
6647674Scael.It Pa /dev/kmem
6747674Scael.It Pa /dev/kUmem
6847674Scael.El
6947674Scael.Sh HISTORY
7047674ScaelThe
7147674Scael.Nm mem ,
7247674Scael.Nm kmem
7347674Scaelfiles appeared in
7447674Scael.At v6 .
7547674ScaelThe file
7647674Scael.Nm kUmem
7747674Scaelappeared in
7847674Scael.Bx 3.0 .
79