diff options
author | Helge Deller <deller@gmx.de> | 2023-09-13 11:25:09 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2023-09-19 21:12:18 +0200 |
commit | cf6b28d41bc944c3b498489ee916a3d8c72ff6be (patch) | |
tree | 829fb8454e534a4c0748a478d5bdb46c87bc976c /target/hppa/helper.h | |
parent | a64b8842f17c1e607d78bef930bb58e3748551dc (diff) |
target/hppa: Wire up diag instruction to support BTLB
Wire up the hppa diag instruction to support Block-TLBs
when called with the 0x100 value.
The diag_btlb() helper function does all necessary steps
to emulate the PDC BTLB firmware function, which includes
providing BTLB info, adding a new BTLB, deleting a BTLB
and removing all BTLBs.
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'target/hppa/helper.h')
-rw-r--r-- | target/hppa/helper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/hppa/helper.h b/target/hppa/helper.h index c7e35ce8c7..647f043c85 100644 --- a/target/hppa/helper.h +++ b/target/hppa/helper.h @@ -95,4 +95,5 @@ DEF_HELPER_FLAGS_2(ptlb, TCG_CALL_NO_RWG, void, env, tl) DEF_HELPER_FLAGS_1(ptlbe, TCG_CALL_NO_RWG, void, env) DEF_HELPER_FLAGS_2(lpa, TCG_CALL_NO_WG, tr, env, tl) DEF_HELPER_FLAGS_1(change_prot_id, TCG_CALL_NO_RWG, void, env) +DEF_HELPER_1(diag_btlb, void, env) #endif |