[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [MiNT] Proposal for SLB extension



Hmmm.

I thought the problem was that you can't access this variable from user
mode? Or did you mean that you're willing to do this one system call per
library call? I still think that this overhead would bot be acceptable...

Regards, Julian

> -----Original Message-----
> From: owner-mint@fishpool.com [mailto:owner-mint@fishpool.com]On Behalf
> Of Thomas Binder
> Sent: Sunday, April 16, 2000 6:23 PM
> To: mint@fishpool.com
> Subject: Re: [MiNT] Proposal for SLB extension
>
>
> Hi!
>
> On Thu, Apr 13, 2000 at 11:18:09AM +0200, Julian Reschke wrote:
> > That should be checked. I know that MiNT once did it, and there might be
> > code out there relying on it.
>
> I'm sorry, I was wrong. When I wrote the SLB code, I already looked for
> this, but it seems I was blind - the code's there and works flawlessly.
>
> Thus, it's quite easy to change slb_util.spp to let _slb_exec read the
> basepage address from *tosbp. I already did that and it works. To be on
> the safe side, though, it's probably better to let L_switch in intr.spp
> write the current basepage address into a variable for sure readable by
> a user process executing _slb_exec.
>
>
> Ciao
>
> Thomas
>
>
> --
> Thomas Binder (Gryf @ IRCNet)  gryf@hrzpub.tu-darmstadt.de
> PGP-key available on request!  binder@rbg.informatik.tu-darmstadt.de
>