mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 06:57:51 +00:00
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:
parent
c03b277a34
commit
e7d57ded36
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user