[En-Nut-Discussion] arm port (RFC: Changing ARM mode)
Rocendo Bracamontes del toro
rocendob at gmail.com
Wed Jan 14 00:35:23 CET 2009
On Tue, Jan 13, 2009 at 4:32 PM, Alain M. <alainm at pobox.com> wrote:
>
> Adam Dybkowski escreveu:
> > Alain M. wrote:
> >
> >> It will probably work with ARM7, but it looks more like a hack...
> >> But it will not work anymore on Cortex...
> >
> > Why? What is the clue difference between Cortex and ARM cores?
>
> In ARM7, the priviledged mode is kind of not for protection... I don't
> know what good is a protection that can be turned off with one instruction.
>
> In Cortex-M3, protectetion is real and to enforce that, SWI (was renamed
> to SVC) is the only way to switch out of user mode.
>
> Of course, the address can be read from the stack and then jump back,
> but that is really ugly.
So.... what is your proposal?
>
>
> Alain
>
> _______________________________________________
> http://lists.egnite.de/mailman/listinfo/en-nut-discussion
>
More information about the En-Nut-Discussion
mailing list