Machine dependent core dump struct added.

This commit is contained in:
ragge 1995-05-07 16:43:34 +00:00
parent 9bdf9bed5e
commit 197ff756b0
2 changed files with 10 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: pcb.h,v 1.7 1995/03/30 20:43:02 ragge Exp $ */
/* $NetBSD: pcb.h,v 1.8 1995/05/07 16:43:34 ragge Exp $ */
/*
* Copyright (c) 1994 Ludd, University of Lule}, Sweden.
@ -35,6 +35,7 @@
#ifndef _VAX_PCB_H_
#define _VAX_PCB_H_
#include "machine/trap.h"
struct pcb {
@ -62,8 +63,10 @@ struct pcb {
#define AST_MASK 0x07000000
#define AST_PCB 0x04000000
/* Not yet... */
/* machine-specific core dump; save trapframe */
struct md_coredump {
struct trapframe md_tf;
};
#endif /* _VAX_PCB_H_ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: trap.h,v 1.5 1995/05/03 19:53:48 ragge Exp $ */
/* $NetBSD: trap.h,v 1.6 1995/05/07 16:43:35 ragge Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -42,6 +42,8 @@
* Trap type values
* also known in trap.c for name strings
*/
#ifndef _VAX_TRAP_H_
#define _VAX_TRAP_H_
#define T_RESADFLT 0 /* reserved addressing */
#define T_PRIVINFLT 1 /* privileged instruction */
@ -103,3 +105,5 @@ struct trapframe {
u_int psl; /* User psl */
};
#endif /* ASSEMBLER */
#endif _VAX_TRAP_H_