provide a definition NETBSD32_MID_MACHINE which tells for the a.out MID

to look for in 32-bit emulation
This commit is contained in:
drochner 2004-02-20 16:11:44 +00:00
parent a3cc11808b
commit 289fa68010
2 changed files with 6 additions and 2 deletions

View File

@ -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_ #ifndef _MACHINE_NETBSD32_H_
#define _MACHINE_NETBSD32_H_ #define _MACHINE_NETBSD32_H_
@ -128,4 +128,6 @@ struct x86_64_set_mtrr_args32 {
uint32_t n; uint32_t n;
}; };
#define NETBSD32_MID_MACHINE MID_I386
#endif /* _MACHINE_NETBSD32_H_ */ #endif /* _MACHINE_NETBSD32_H_ */

View File

@ -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 * Copyright (c) 1998, 2001 Matthew R. Green
@ -77,4 +77,6 @@ struct netbsd32_sigcontext13 {
#define NETBSD32_MD_IOCTL /* enable netbsd32_md_ioctl() */ #define NETBSD32_MD_IOCTL /* enable netbsd32_md_ioctl() */
int netbsd32_md_ioctl(struct file *, netbsd32_u_long, void *, struct proc *); int netbsd32_md_ioctl(struct file *, netbsd32_u_long, void *, struct proc *);
#define NETBSD32_MID_MACHINE MID_SPARC
#endif /* _MACHINE_NETBSD32_H_ */ #endif /* _MACHINE_NETBSD32_H_ */