hw & trustzone: fix alignm. of VM exception-vector

After modifying mode transition for branch prediction tz_vmm wasn't
working anymore on hw_imx53_tz but the modifications had nothing to do
with the VM code. However, the amount of instructions in the MT before the
VM exception-vector changed. So I tried stuffing the last working version with
NOPs and found that tz_vmm worked for some NOP amounts and for others not.
Thus, I increased the alignment of the VM exception-vector from 16 bytes to 32
bytes, é voila, its working with any amount of NOPs as well as with branch
prediction commits.

ref #474
This commit is contained in:
Martin Stein 2014-08-07 16:48:50 +02:00 committed by Norman Feske
parent c03b277a34
commit e7d57ded36

View File

@ -434,7 +434,7 @@
* On vm exceptions the CPU has to jump to one of the following
* 7 entry vectors to switch to a kernel context.
*/
.p2align 4
.p2align 5
.global _mon_kernel_entry
_mon_kernel_entry:
b _mon_rst_entry /* reset */