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

Re: [MiNT] xaaes.km calls the AES appl_init() in supervisor mode



On 09/03/2013 21:26, Helmut Karlowski wrote:
It's ok with it it seems. Every file-operation in the TOS-desktop would use
the MiNT-functions (doesn't the TOS-desktop also run in supervisor?).

I quickly tested TOS 1.62, it seems that the desktop runs in supervisor mode.
I fixed the EmuTOS desktop long ago, now it runs in user mode. Same for EmuCON. But the AES and the VDI runs in supervisor. Remember that the ROM can be read in user mode, and that calling the AES is supposed to be forbidden from supervisor more (now we know this is not really true).

There have always been random but rare crashes when using the desktop too
much, maybe this is related and it's worth trying to decrease the
stack-usage of these calls?

There can be multiple cause of (rare) crashes.
Unfortunately problems related to stack overflow are very hard to find.

Anyway, things will be a bit more sane now.
GEM=ROM also works again on the FireBee :-)

--
Vincent Rivière