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

Re: [MiNT] mint & mmu



> You can do it simpler. If a program do Super() just set a flag that the 
> program wanted to switch to Super(), don't do anything other and let the 
> program run in usermode. On the next illegal instruction or memory 
> violation look if the flag is set. If yes analyze the reason, if the 
> application wanted to get the cookie jar the faulted address will be the 
> cookie jar address for example. If this is an allowed operation copy over 
> the cookie jar pointer and let the application normally run. If it's an 
> illegal operation do normal signal handling (e.g. terminating app most 
> probably).
>
this is perfect solution. when we can expect the implementation? ;)

-- 

---------------------------------------------------------------------------
MiKRO         Atari XE/XL/Mega STE/Falcon060         http://mikro.atari.org
---------------------------------------------------------------------------