DataMuseum.dk

Presents historical artifacts from the history of:

RC9000

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

See our Wiki for more about RC9000

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: @ T k

⟦34065b619⟧ TextFile

    Length: 962 (0x3c2)
    Types: TextFile
    Notes: @(#)kmem.h 13.1 (RC International) 91/02/01  */
    Names: »kmem.h«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./usr/include/kmem.h« 
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦c6f24efe5⟧ »0007« 
        └─⟦this⟧ »comp3.0/bsd/usr/include/kmem.h« 

TextFile

/*	@(#)kmem.h	13.1 (RC International) 91/02/01 	*/

/* needs <sys/param.h> */

struct	kmem
{
	int	ufd;		/* UPU memory access file descriptor */
	int	rfd;		/* RPU memory access file descriptor */
	int	pfd;		/* Physical memory access file descriptor */
	bool_t	alive;		/* Live system or coredump file */
	int	pid;		/* for kmem_process if not alive */
	caddr_t	proc;		/* base physical addr of process table */
	int	nproc;		/* number of entries in the process table */
	int	ptes[UPAGES];	/* physical page table entries: current UAREA */
	caddr_t	physmem;	/* size of physical main memory */
				/* next fields for coredumps only */
    	caddr_t	dump1_start;	/* Start addr. of 1. part of coredump */
    	u_int	dump1_size;	/* Bytecnt. of 1. part of coredump */
    	caddr_t	dump2_start;	/* Start addr. of 2. part of coredump */
    	u_int	dump2_size;	/* Bytecnt. of 2. part of coredump */
};

struct	kmem	*kmem_open();

/* kmem_open flags */
#define	KMEM_FILEFIRST		1