Hi Greg,

> When/where/how are you looking at the state of CPSR?
> If you are running in kernel context then that would make
> sense.

I'm looking at the CPSR in user space. I'm actually not running
uClinux a a real board, but
I'm using a simulated virtual platform in SystemC. This gives me a
whole lot of debugging
capabilities.

Well, I can get it to work, but I need to do some hack, because it
looks like the following condition

        if (current->personality & ADDR_LIMIT_32BIT)                     \
                regs->ARM_cpsr = USR_MODE;      

is failing in the start_thread function in
"linux/include/asm-arm/proc-armv/processor.h"

If I remove the condition and always drive USR_MODE into ARM_cpsr,
then everything works fine.
No clue what "personality" means ... Looks like I forgot something in my port ..

Cheers,

Wim
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to