DataMuseum.dk

Presents historical artifacts from the history of:

ICL Comet 32

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about ICL Comet 32

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦797285cc3⟧ TextFile

    Length: 1000 (0x3e8)
    Types: TextFile
    Notes: UNIX file
    Names: »devpm.h«

Derivation

└─⟦26887b7e0⟧ Bits:30009717 Comet 32 harddisk image
    └─⟦28c352965⟧ »/a« UNIX Filesystem
        └─⟦this⟧ »usr/include/sys/devpm.h« 

TextFile

/*
 * @(#)devpm.h	3.3	7/14/83
 * @(#)Copyright (C) 1983 by National Semiconductor Corp.
 */

/* Virtual to physical address mappings for devices */

/* This file defines the physical memory addresses which correspond to
 * the virtual addresses assigned to the various device registers and RAM
 * areas defined in devvm.h.  The physical memory addresses must correspond
 * to the actual locations defined by the hardware.
 *
 * Certain areas accessed by the ROM monitor must be mapped so that virtual
 * and physical addresses are the same.  These include the ROM monitor itself,
 * the graphics screens, and the CPU registers.
 *
 * Keep the spytable structure up to date in vmsys.c.  This table contains
 * physical memory addresses which are accessable to unprivileged users.
 */

#include "devvm.h"

struct devmap{
	int	virtaddr;	/* virtual address */
	int	physaddr;	/* corresponding physical address */
	int	pagelen;	/* length in pages */
};

#ifdef KERNEL
extern struct devmap devmap[];
#endif