aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHarsh Prateek Bora <harshpb@linux.ibm.com>2024-07-31 11:20:18 +0530
committerNicholas Piggin <npiggin@gmail.com>2024-11-04 09:10:32 +1000
commitf41e7f7694b34e710b4d78947825734f0727683a (patch)
treebbf82aaa9a458b701cc4b7792a1eed7380078b80 /include
parentc1a13064e3371b6ff2d8204a105a693c659afaf8 (diff)
downloadqemu-f41e7f7694b34e710b4d78947825734f0727683a.zip
qemu-f41e7f7694b34e710b4d78947825734f0727683a.tar.gz
qemu-f41e7f7694b34e710b4d78947825734f0727683a.tar.bz2
target/ppc: Reduce code duplication across Power9/10 init code
Power9/10 initialization code consists of a lot of logical OR of various flag bits as supported by respective Power platform during its initialization, most of which is duplicated and only selected bits are added or removed as needed with each new platform support being added. Remove the duplicate code and share using common macros. Reviewed-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Harsh Prateek Bora <harshpb@linux.ibm.com> [adityag: renamed many POWERPC_* flags to PPC_* flags, checkpatch fixes] Signed-off-by: Aditya Gupta <adityag@linux.ibm.com> Tested-by: Amit Machhiwal <amachhiw@linux.ibm.com> Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions