Subject: Re: Linux emulation on Alpha working
To: None <erh@netbsd.org>
From: Jaromír Dolecek <dolecek@ibis.cz>
List: tech-kern
Date: 11/19/2000 15:43:19
Eric Haszlakiewicz wrote:
> Modified Files:
> 	syssrc/sys/compat/linux/arch/alpha: files.linux_alpha linux_exec.h
> 	    syscalls.master
> 	syssrc/sys/compat/linux/arch/i386: linux_exec.h
> 	syssrc/sys/compat/linux/arch/m68k: linux_exec.h
> 	syssrc/sys/compat/linux/common: linux_exec_elf32.c
> Added Files:
> 	syssrc/sys/compat/linux/arch/alpha: linux_exec_alpha.c
> 
> Log Message:
> Make the linux compatibilty code work on the alpha.  (horay!) (at last!)

Cool :)

> In order for linux compat to work you must have COMPAT_OSF1, COMPAT_43,
> COMPAT_09, COMPAT_12 and COMPAT_13 on also.

This is wrong. No emulation should depend on any other. An emulation
should only depend on mainstream system calls, should not even
require any COMPAT_?? - the necessary code should be brough up
so that it's emulation-specific, via some includes and defines.
While the emulation code is not quite clean WRT COMPAT_??, there should
not be more implicit dependencies added.

Jaromir
-- 
Jaromir Dolecek <jdolecek@NetBSD.org>      http://www.ics.muni.cz/~dolecek/
@@@@  Wanna a real operating system ? Go and get NetBSD, damn!  @@@@