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

RE: [MiNT] Proposal for SLB extension



Waitaminute. I would think that the subroutines in the kernel can directly
access the current PROC structure...

-----Original Message-----
From: owner-mint@fishpool.com [mailto:owner-mint@fishpool.com]On Behalf
Of Konrad M. Kokoszkiewicz
Sent: Tuesday, April 04, 2000 10:12 PM
To: Julian Reschke
Cc: MiNT mailing list
Subject: RE: [MiNT] Proposal for SLB extension


> I must admit that (not looking at the source) it is unclear to me why
> passing the basepage address of the current process actually is that
> expensive... It's in the PROC structure anyway, correct?

Of course. Retrievable by Fopen()/Fcntl()/Fclose() on /proc. Three system
calls.

--
Konrad M.Kokoszkiewicz
mail: draco@atari.org
http://www.obta.uw.edu.pl/~draco/
http://draco.atari.org

** Ea natura multitudinis est,
** aut servit humiliter, aut superbe dominatur (Liv. XXIV,25)
*************************************************************
** Taka to juz natura pospolstwa, ze albo sluzy ono unizenie,
** albo bezczelnie sie panoszy.