]> www.infradead.org Git - users/dwmw2/qemu.git/commit
target/ppc: reduce duplicate code between init_proc_POWER{9, 10}
authorHarsh Prateek Bora <harshpb@linux.ibm.com>
Thu, 10 Oct 2024 05:47:40 +0000 (11:17 +0530)
committerNicholas Piggin <npiggin@gmail.com>
Sun, 3 Nov 2024 23:13:01 +0000 (09:13 +1000)
commit57ff60c1c2fbf21dbe81873dfb440edde15354b4
tree760ec3e121ff9e7d61beaacf04f3b5294d8e4ace
parent8bbf0cff8c19f69825a055a8d2a9aa049d23fb85
target/ppc: reduce duplicate code between init_proc_POWER{9, 10}

Historically, the registration of sprs have been inherited alongwith
every new Power arch support being added leading to a lot of code
duplication. It's time to do necessary cleanups now to avoid further
duplication with newer arch support being added.

Signed-off-by: Harsh Prateek Bora <harshb@linux.ibm.com>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
target/ppc/cpu_init.c