Hi

I am trying to install an FIQ handler on CLEP7212 evaluation board.
When I execute 'get_fiq_regs', the kernel crashes with the following
message:

Bad mode detected in data abort handler: Mode FIQ_32

This is followed by a display of register values (show_regs).
It show that IRQs and FIQs are OFF, and surprisingly, Mode: USER_26.
I expected it to be SVC_32/USER_32 since I have CONFIG_CPU_32 enabled.
Also I could not find a place where the kernel changes the cpsr to put
ARM in USER_26 mode.

At the same time, I have seen some other codes (e.g.arch-a5k) where
get_fiq_regs and set_fiq_regs are used.

Am I missing something because of which my get_fiq_regs and set_fiq_regs

don't work? Could somebody throw any light?

Thanks.

Umesh Puranik


_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm

Reply via email to