[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] Re: fatal error handling
Jo Even Skarstein wrote:
>
> On Tue, 8 Dec 1998, Thomas Binder wrote:
>
> > On Tue, Dec 08, 1998 at 01:26:04PM +0100, Johan Klockars wrote:
> > > What we really need is a good way to allow programs to modify the system
> > > behaviour without all this TRAP chaining. I mean, it's a bit much when
> > > a simple system call has to pass through half a dozen or more sets of
> > > 'is this call for me?'-checks before it reaches its destination...
> >
> > Anyone took a look at how Linux handles its loadable modules (which
> > useually replace/enhance kernel calls) and whether the principle could
> > be used somehow?
>
> Isn't this what MetaDOS is all about? And if so (I don't have a clue),
> perhaps this scheme could be implemented for the other traps as well?
Not really,
MetaDOS intercepts XBIOS calls 48..63 and allows hardware drivers to
take these. In addition, it maps file system calls to logical file
system drivers. It's not really a general utility to hook into the
system...
Regards, jr