Commit ad0225dc authored by Catalin Marinas's avatar Catalin Marinas

Thumb-2: Handle the exceptions in Thumb mode on noMMU kernels

This patch sets bit 30 in the CP15 system control register so that the
exceptions are handled in Thumb mode when the MMU is disabled.
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent 19132119
...@@ -216,7 +216,7 @@ ENDPROC(__v7_setup) ...@@ -216,7 +216,7 @@ ENDPROC(__v7_setup)
.type v7_crval, #object .type v7_crval, #object
v7_crval: v7_crval:
ARM( crval clear=0x0120c302, mmuset=0x00c0387d, ucset=0x00c0187c ) ARM( crval clear=0x0120c302, mmuset=0x00c0387d, ucset=0x00c0187c )
THUMB( crval clear=0x0120c302, mmuset=0x40c0387d, ucset=0x00c0187c ) THUMB( crval clear=0x0120c302, mmuset=0x40c0387d, ucset=0x40c0187c )
__v7_setup_stack: __v7_setup_stack:
.space 4 * 11 @ 11 registers .space 4 * 11 @ 11 registers
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment