diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2011-09-06 03:55:53 +0400 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-09-10 16:57:40 +0000 |
commit | b67ea0cd74417b42482499c29feb90914fbf8097 (patch) | |
tree | ccc2e3c2d6ef7bfd9ac7d201e69687ed51478e75 /target-xtensa/helpers.h | |
parent | ccfcaba6fd9f69a9322af1911302e71127bee1e0 (diff) |
target-xtensa: implement memory protection options
- TLB opcode group;
- region protection option (ISA, 4.6.3);
- region translation option (ISA, 4.6.4);
- MMU option (ISA, 4.6.5).
Cache control attribute bits are not used by this implementation.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-xtensa/helpers.h')
-rw-r--r-- | target-xtensa/helpers.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/target-xtensa/helpers.h b/target-xtensa/helpers.h index 28689c3088..09ab3325c9 100644 --- a/target-xtensa/helpers.h +++ b/target-xtensa/helpers.h @@ -22,4 +22,11 @@ DEF_HELPER_2(timer_irq, void, i32, i32) DEF_HELPER_1(advance_ccount, void, i32) DEF_HELPER_1(check_interrupts, void, env) +DEF_HELPER_1(wsr_rasid, void, i32) +DEF_HELPER_2(rtlb0, i32, i32, i32) +DEF_HELPER_2(rtlb1, i32, i32, i32) +DEF_HELPER_2(itlb, void, i32, i32) +DEF_HELPER_2(ptlb, i32, i32, i32) +DEF_HELPER_3(wtlb, void, i32, i32, i32) + #include "def-helper.h" |