thermosphere: trap set/way dcache access

note: qemu does not implement the trap
This commit is contained in:
TuxSH
2020-01-15 17:30:25 +00:00
parent 114cdc5aa4
commit 2753b6cf8f
6 changed files with 92 additions and 4 deletions

View File

@@ -44,6 +44,9 @@ void enableTraps(void)
// Trap SMC instructions
hcr |= HCR_TSC;
// Trap set/way isns
hcr |= HCR_TSW;
// Reroute physical IRQs to EL2
hcr |= HCR_IMO;