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 | 190d0243b29914c766b2f164fcf00e742d1b1f2b (patch) | |
tree | ccc2e3c2d6ef7bfd9ac7d201e69687ed51478e75 /target-xtensa/helpers.h | |
parent | 26425746f73d034de579f530298826aada674705 (diff) | |
download | qemu-190d0243b29914c766b2f164fcf00e742d1b1f2b.tar.gz qemu-190d0243b29914c766b2f164fcf00e742d1b1f2b.tar.bz2 qemu-190d0243b29914c766b2f164fcf00e742d1b1f2b.zip |
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" |