summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/include/exec.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-14 05:29:32 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-14 05:29:32 +0000
commit86b4fdd623d3c50d7bfd9427c2c9208454cd0da7 (patch)
tree5d95abcaf58d01703a30c7ab600537d3b8f67989 /sys/arch/hp300/include/exec.h
parente2cd6c399798843e13e76f49dc8ee048b51f99f1 (diff)
update from netbsd (verbatim)
Diffstat (limited to 'sys/arch/hp300/include/exec.h')
-rw-r--r--sys/arch/hp300/include/exec.h41
1 files changed, 6 insertions, 35 deletions
diff --git a/sys/arch/hp300/include/exec.h b/sys/arch/hp300/include/exec.h
index 9559df95c95..5e068296ea5 100644
--- a/sys/arch/hp300/include/exec.h
+++ b/sys/arch/hp300/include/exec.h
@@ -1,4 +1,4 @@
-/* $NetBSD: exec.h,v 1.9 1995/03/28 18:16:33 jtc Exp $ */
+/* $NetBSD: exec.h,v 1.10 1995/11/20 01:15:26 thorpej Exp $ */
/*
* Copyright (c) 1993 Christopher G. Demetriou
@@ -27,42 +27,13 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef _HP300_EXEC_H_
-#define _HP300_EXEC_H_
-
-#ifdef _KERNEL
-
-#ifdef COMPAT_HPUX
-#include "user.h" /* for pcb */
-#include "hp300/hpux/hpux_exec.h"
-#endif
-
-/*
- * the following, if defined, prepares a set of vmspace commands for
- * a given exectable package defined by epp.
- * The standard executable formats are taken care of automatically;
- * machine-specific ones can be defined using this function.
- */
-int cpu_exec_makecmds __P((struct proc *p, struct exec_package *epp));
-
-/*
- * the following function/macro checks to see if a given machine
- * type (a_mid) field is valid for this architecture
- * a non-zero return value indicates that the machine type is correct.
- */
-#ifdef COMPAT_HPUX
-#define cpu_exec_checkmid(mid) ((mid == MID_HP200) || (mid == MID_HP300) || \
- (mid == MID_HPUX))
-#else
-#define cpu_exec_checkmid(mid) ((mid == MID_HP200) || (mid == MID_HP300)))
-#endif
-
-#endif /* _KERNEL */
+#ifndef _MACHINE_EXEC_H_
+#define _MACHINE_EXEC_H_
#define __LDPGSZ 4096
/* Relocation format. */
-struct relocation_info_hp300 {
+struct relocation_info_m68k {
int r_address; /* offset in text or data segment */
unsigned int r_symbolnum : 24, /* ordinal number of add symbol */
r_pcrel : 1, /* 1 if value should be pc-relative */
@@ -73,6 +44,6 @@ struct relocation_info_hp300 {
r_relative : 1, /* load address relative */
r_copy : 1; /* run time copy */
};
-#define relocation_info relocation_info_hp300
+#define relocation_info relocation_info_m68k
-#endif /* _HP300_EXEC_H_ */
+#endif /* _MACHINE_EXEC_H_ */