Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mmap(2)

read(2V)

write(2V)

directory(3)

MEM(4S)  —  DEVICES AND NETWORK INTERFACES

NAME

mem, kmem, vme16d16, vme24d16, vme32d16, vme16d32, vme24d32, vme32d32, mbmem, mbio, atbus, zero, eeprom − main memory and bus I/O space

CONFIG

None; included with standard system. 

DESCRIPTION

These devices are special files that map memory and bus I/O space.  They may be read, written, seeked and (except for kmem) memory-mapped.  See read(2V), write(2V), mmap(2), and directory(3),

mem is a special file that is an image of the physical memory of the computer.  It may be used, for example, to examine (and even to patch) the system. 

kmem is a special file that is an image of the kernel virtual memory of the system. 

kmem is a special file which is a source of private zero pages. 

Sun-2 and Sun-3 System

vme16d16 (also known as vme16) is a special file that is an image of VMEbus 16-bit addresses with 16-bit data.  vme16 address space extends from 0 to 64K. 

vme24d16 (also known as vme24) is a special file that is an image of VMEbus 24-bit addresses with 16-bit data.  vme24 address space extends from 0 to 16 Megabytes.  The VME 16-bit address space overlaps the top 64K of the 24-bit address space. 

Sun-3 VMEbus

vme32d16 is a special file that is an image of VMEbus 32-bit addresses with 16-bit data. 

vme16d32 is a special file that is an image of VMEbus 16-bit addresses with 32-bit data. 

vme24d32 is a special file that is an image of VMEbus 24-bit addresses with 32-bit data. 

vme32d32 (also known as vme32) is a special file that is an image of VMEbus 32-bit addresses with 32-bit data.  vme32 address space extends from 0 to 4 Giggabytes.  The VME 24-bit address space overlaps the top 16 Megabytes of the 32-bit address space. 

vme∗ type special files can only be accessed in VME based systems. 

Sun-2 MultibuS

mbmem is a special file that is an image of the Multibus memory of the system.  Multibus memory is in the range from 0 to 16 Megabytes.  mbmem can only be accessed in Multibus based systems. 

mbio is a special file that is an image of the Multibus I/O space.  Multibus I/O space extends from 0 to 64K.  mbio can only be accessed in Multibus based systems. 

When reading and writing mbmem and mbio odd counts or offsets cause byte accesses and even counts and offsets cause word accesses. 

Sun386i

atbus is a special file that is an image of the AT bus space.  It extends from 0 to 16 Megabytes. 

eeprom is a special file that is an image of the NVRAM. It extends from 0 to 2Kb. 

FILES

/dev/mem

/dev/kmem

/dev/mbmem

/dev/mbio

/dev/vme16d16

/dev/vme16

/dev/vme24d16

/dev/vme24

/dev/vme32d16

/dev/vme16d32

/dev/vme24d32

/dev/vme32d32

/dev/vme32

/dev/atbus

/dev/zero

/dev/eeprom

SEE ALSO

mmap(2), read(2V), write(2V), directory(3)

Sun Release 4.0  —  Last change: 18 February 1988

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026