mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
target/ppc: Move SPR indirect registers into PnvCore
SPRC/SPRD were recently added to all BookS CPUs supported, but they are only tested on POWER9 and POWER10, so restrict them to those CPUs. SPR indirect scratch registers presently replicated per-CPU like SMT SPRs, but the PnvCore is a better place for them since they are restricted to P9/P10. Also add SPR indirect read access to core thread state for POWER9 since skiboot accesses that when booting to check for big-core mode. Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
This commit is contained in:
parent
0ca94b2f11
commit
60d30cff84
4 changed files with 45 additions and 45 deletions
|
@ -1253,9 +1253,6 @@ struct CPUArchState {
|
|||
ppc_slb_t slb[MAX_SLB_ENTRIES]; /* PowerPC 64 SLB area */
|
||||
struct CPUBreakpoint *ciabr_breakpoint;
|
||||
struct CPUWatchpoint *dawr0_watchpoint;
|
||||
|
||||
/* POWER CPU regs/state */
|
||||
target_ulong scratch[8]; /* SCRATCH registers (shared across core) */
|
||||
#endif
|
||||
target_ulong sr[32]; /* segment registers */
|
||||
uint32_t nb_BATs; /* number of BATs */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue