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

Re: Super and Supexec in the latest beta



> When using Supexec, it returns -36L (EACCDN) and does not run the
> supervisor code. I'm not sure that this is a good idea, because the
> routine that was supposed to run could possibly return the same value.

Well, I think it is a good idea, at least considering consistency with
what the rest of the XBIOS returns.
 
> I think *that* was the expected behaviour for Super(), however the
> code is run in supervisor mode. At least the sample code returns
> the SYSHEADER pointer although it was running on a pid != 0. Check
> suptest.ttp with parameter "super".

Yes, there's a bug in Super() that makes the protection not working.
I fixed it some time ago, but somehow it appeared again in the source
tree, probably I forgot to include the patched file to the main source.
I'll talked with Frank about it, he will fix it immediately.

Gtx,

--
Konrad M.Kokoszkiewicz
|mail: draco@mi.com.pl                  | Atari Falcon030/TT030/65XE |
|http://www.orient.uw.edu.pl/~conradus/ | ** FreeMiNT development ** |

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