Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/vax/include Add some machine dependent stuff for vax.



details:   https://anonhg.NetBSD.org/src/rev/2070d9d3605c
branches:  trunk
changeset: 480360:2070d9d3605c
user:      matt <matt%NetBSD.org@localhost>
date:      Mon Jan 10 02:33:13 2000 +0000

description:
Add some machine dependent stuff for vax.

diffstat:

 sys/arch/vax/include/ibcs2_machdep.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r 319eb5dc8af7 -r 2070d9d3605c sys/arch/vax/include/ibcs2_machdep.h
--- a/sys/arch/vax/include/ibcs2_machdep.h      Mon Jan 10 02:30:33 2000 +0000
+++ b/sys/arch/vax/include/ibcs2_machdep.h      Mon Jan 10 02:33:13 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ibcs2_machdep.h,v 1.1 1999/11/16 00:46:25 matt Exp $   */
+/*     $NetBSD: ibcs2_machdep.h,v 1.2 2000/01/10 02:33:13 matt Exp $   */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -39,12 +39,16 @@
 #ifndef _VAX_IBCS2_MACHDEP_H_
 #define _VAX_IBCS2_MACHDEP_H_
 
+#define COFF_MAGIC_VAX 0575
+#define COFF_BADMAG(ex) (ex->f_magic != COFF_MAGIC_VAX)
+
 #ifdef _KERNEL
 struct exec_package;
 struct exec_vmcmd;
 
 void   ibcs2_setregs __P((struct proc *, struct exec_package *, u_long));
 void   ibcs2_sendsig __P((sig_t, int, sigset_t *, u_long));
+int    ibcs2_sys_sysmachine __P((struct proc *, void *, register_t *));
 
 #endif /* _KERNEL */
 



Home | Main Index | Thread Index | Old Index