Subject: Re: changed files: 'src/sys/sys proc.h'
To: None <cgd@nobozo.CS.Berkeley.EDU, deraadt@sun-lamp.cs.berkeley.edu>
From: Theo Deraadt <deraadt@fsa.ca>
List: source-changes
Date: 11/19/1993 19:39:13
If you ever try to use an emulation, you're going to have to do
it like this

#ifdef COMPAT_SUNOS
	if (p->p_emul == EMUL_SUNOS)
		...
#endif

This lets the EMUL_* flags be defined per processor. it does
not make sense to have p_emul ever have a value of EMUL_SUNOS
on an i386 (let's not talk about the 386i, that bastard creation
was never really sunos)

> there shouldn't be that many EMUL's...

i don't think this is relevant. the case is that an EMUL_AMIGAUNIX
should never occur anywhere except if there is an equivelant
COMPAT_AMIGAUNIX flag defined for the kernel.. so no problem.

------------------------------------------------------------------------------