From 289fa68010db171e5e98cc8e191d7132d89ed19b Mon Sep 17 00:00:00 2001 From: drochner Date: Fri, 20 Feb 2004 16:11:44 +0000 Subject: [PATCH] provide a definition NETBSD32_MID_MACHINE which tells for the a.out MID to look for in 32-bit emulation --- sys/arch/amd64/include/netbsd32_machdep.h | 4 +++- sys/arch/sparc64/include/netbsd32_machdep.h | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/sys/arch/amd64/include/netbsd32_machdep.h b/sys/arch/amd64/include/netbsd32_machdep.h index 64dd692d7bd8..1a673a818976 100644 --- a/sys/arch/amd64/include/netbsd32_machdep.h +++ b/sys/arch/amd64/include/netbsd32_machdep.h @@ -1,4 +1,4 @@ -/* $NetBSD: netbsd32_machdep.h,v 1.4 2003/10/13 18:41:11 fvdl Exp $ */ +/* $NetBSD: netbsd32_machdep.h,v 1.5 2004/02/20 16:11:44 drochner Exp $ */ #ifndef _MACHINE_NETBSD32_H_ #define _MACHINE_NETBSD32_H_ @@ -128,4 +128,6 @@ struct x86_64_set_mtrr_args32 { uint32_t n; }; +#define NETBSD32_MID_MACHINE MID_I386 + #endif /* _MACHINE_NETBSD32_H_ */ diff --git a/sys/arch/sparc64/include/netbsd32_machdep.h b/sys/arch/sparc64/include/netbsd32_machdep.h index 4e021d2e381a..b84d1a79c5a9 100644 --- a/sys/arch/sparc64/include/netbsd32_machdep.h +++ b/sys/arch/sparc64/include/netbsd32_machdep.h @@ -1,4 +1,4 @@ -/* $NetBSD: netbsd32_machdep.h,v 1.15 2003/09/26 18:09:38 christos Exp $ */ +/* $NetBSD: netbsd32_machdep.h,v 1.16 2004/02/20 16:11:44 drochner Exp $ */ /* * Copyright (c) 1998, 2001 Matthew R. Green @@ -77,4 +77,6 @@ struct netbsd32_sigcontext13 { #define NETBSD32_MD_IOCTL /* enable netbsd32_md_ioctl() */ int netbsd32_md_ioctl(struct file *, netbsd32_u_long, void *, struct proc *); +#define NETBSD32_MID_MACHINE MID_SPARC + #endif /* _MACHINE_NETBSD32_H_ */