Subject: Re: Emulations as LKMs
To: None <thorpej@zembu.com>
From: Jaromír Dolecek <dolecek@ibis.cz>
List: tech-kern
Date: 11/10/2000 21:41:51
Jason R Thorpe wrote:
> > I'll think about this. It's not particularily wise to separate the
> > syscall/signal code - the emulation-specific code is minimal, only kind of
> > quirks. Making the thing a separate function would probably duplicate
>
> Using separate syscall/signal stuff really is the way to go -- it's the
> only way that emulations can truly be modularlized.
I'd hate to duplicate the code in couple of places ... there is an option
to put the syscall code in separate .c file, #include it from
emulation-specific sources and use magic defines to put in emul-specific
code. Or is there any better way ?
Jaromir
--
Jaromir Dolecek <jdolecek@NetBSD.org> http://www.ics.muni.cz/~dolecek/
@@@@ Wanna a real operating system ? Go and get NetBSD, damn! @@@@