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

⟦3230d7aa4⟧ TextFile

    Length: 1882 (0x75a)
    Types: TextFile
    Notes: UNIX file
    Names: »panic.h«

Derivation

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

TextFile

/*
 * @(#)panic.h	1.8	11/29/83
 * @(#)Copyright (C) 1983 by National Semiconductor Corp.
 */

/* Structure to hold interesting data collected during a panic.
 * Those fields flagged by an "#" are initialized at system startup time,
 * and are thus readable even before a crash.
 */

struct panic {
	long	ps_gen[8];	/* general registers r0 - r7 */
	long	ps_pc;		/* pc at time of panic */
	long	ps_psrmod;	/* psr and mod at time of panic */
	long	ps_sp;		/* stack pointer */
	long	ps_fp;		/* frame pointer */
	long	ps_intbase;	/* interrupt base */
	long	ps_ptb0;	/* mmu ptb0 register */
	long	ps_ptb1;	/* mmu ptb1 register */
	long	ps_msr;		/* mmu status register */
	long	ps_eia;		/* mmu eia register */
	long	ps_bpr0;	/* first mmu breakpoint register */
	long	ps_bpr1;	/* second mmu breakpoint register */
	long	ps_nest;	/* counter for nested panics */
	char	*ps_string;	/* address of panic string */
	long	*ps_args;	/* address of arguments to panic string */
	char	*ps_version;	/* # address of system version string */
	struct	proc *ps_proc;	/* # address of proc table */
	struct	spt *ps_spt;	/* # address of spt table */
	struct	msgbuf *ps_msgbuf;	/* # address of message buffer */
	short	ps_nproc;	/* # size of proc table */
	short	ps_nspt;	/* # size of spt table */
	long	options;	/* bit selectable options (see below) */
};


/* The following definition is never changed, and points to the panic block.
 * This particular address is always available because it is one of the
 * reserved words in the kernel's mod table.
 */

#define	PANICADDR	12	/* address of pointer to panic block */


/*
 * options - bit selectable options on the panic options structure element
 */
#define FLAVOR_ON	0x0001	/* 1 => ^A console flavors enabled */
#define SAFE_FLAVOR 	0x0002	/* 1 => flavors which can kill the system
				 * or jobs are disallowed
				 * only valid if FLAVOR_ON == 1
				 */