diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2023-07-05 22:06:29 +1000 |
---|---|---|
committer | Daniel Henrique Barboza <danielhb413@gmail.com> | 2023-07-07 04:47:49 -0300 |
commit | 9cdfd1b9f7eb5ecd1267bbd68330a11dcb8aa8f2 (patch) | |
tree | 5f720d103c85d07705f476ed5be333da9853134b /target/ppc/helper.h | |
parent | 3401ea3cfe06ab5ab059ae19b662270e1357545e (diff) | |
download | qemu-9cdfd1b9f7eb5ecd1267bbd68330a11dcb8aa8f2.zip qemu-9cdfd1b9f7eb5ecd1267bbd68330a11dcb8aa8f2.tar.gz qemu-9cdfd1b9f7eb5ecd1267bbd68330a11dcb8aa8f2.tar.bz2 |
target/ppc: SMT support for the HID SPR
HID is a per-core shared register, skiboot sets this (e.g., setting
HILE) on one thread and that must affect all threads of the core.
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Tested-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Message-ID: <20230705120631.27670-3-npiggin@gmail.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Diffstat (limited to 'target/ppc/helper.h')
-rw-r--r-- | target/ppc/helper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/ppc/helper.h b/target/ppc/helper.h index 828f784..abec6fe 100644 --- a/target/ppc/helper.h +++ b/target/ppc/helper.h @@ -704,6 +704,7 @@ DEF_HELPER_3(store_dcr, void, env, tl, tl) DEF_HELPER_2(load_dump_spr, void, env, i32) DEF_HELPER_2(store_dump_spr, void, env, i32) +DEF_HELPER_3(spr_core_write_generic, void, env, i32, tl) DEF_HELPER_3(spr_write_CTRL, void, env, i32, tl) DEF_HELPER_4(fscr_facility_check, void, env, i32, i32, i32) |