summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/include/ecoff_machdep.h
diff options
context:
space:
mode:
authorEric Jackson <ericj@cvs.openbsd.org>2000-08-31 14:49:08 +0000
committerEric Jackson <ericj@cvs.openbsd.org>2000-08-31 14:49:08 +0000
commit0f46159696ca33137816e63718dc533fefcd77f9 (patch)
tree16b252ce1f2d0dc84fc523cce9180a21beefe5ef /sys/arch/alpha/include/ecoff_machdep.h
parentdb0b2f67a9758275a6028e0d9beb5b0180b4fd98 (diff)
re-org ecoff headers. move some declarations from exec_ecoff.c to exec_ecoff.h
so they can be used for osf1 emul.
Diffstat (limited to 'sys/arch/alpha/include/ecoff_machdep.h')
-rw-r--r--sys/arch/alpha/include/ecoff_machdep.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/arch/alpha/include/ecoff_machdep.h b/sys/arch/alpha/include/ecoff_machdep.h
index 9f2d2447113..ccc5b080e29 100644
--- a/sys/arch/alpha/include/ecoff_machdep.h
+++ b/sys/arch/alpha/include/ecoff_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ecoff_machdep.h,v 1.1 1996/10/30 22:39:01 niklas Exp $ */
+/* $OpenBSD: ecoff_machdep.h,v 1.2 2000/08/31 14:49:06 ericj Exp $ */
/* $NetBSD: ecoff_machdep.h,v 1.3 1996/05/09 23:47:25 cgd Exp $ */
/*
@@ -52,6 +52,11 @@
#define ECOFF_SEGMENT_ALIGNMENT(ep) \
(((ep)->f.f_flags & ECOFF_FLAG_EXEC) == 0 ? 8 : 16)
+#define ECOFF_FLAG_OBJECT_TYPE_MASK 0x3000
+#define ECOFF_OBJECT_TYPE_NO_SHARED 0x1000
+#define ECOFF_OBJECT_TYPE_SHARABLE 0x2000
+#define ECOFF_OBJECT_TYPE_CALL_SHARED 0x3000
+
struct ecoff_symhdr {
int16_t magic;
int16_t vstamp;
@@ -93,3 +98,8 @@ struct ecoff_extsym {
unsigned :29;
int es_indexfld;
};
+
+#ifdef _KERNEL
+void cpu_exec_ecoff_setregs
+ __P((struct proc *, struct exec_package *, u_long, register_t *));
+#endif