summaryrefslogtreecommitdiff
path: root/target-arm/cpu.h
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2013-12-22 22:32:30 +0000
committerPeter Maydell <peter.maydell@linaro.org>2014-01-04 22:15:44 +0000
commit6e6efd612f58726189893fd4d948b7fc10acd872 (patch)
treef9bf3b87c5f5f7787bf544a4851bcc1eef2b589c /target-arm/cpu.h
parentce5458e82e250c66fe31c716d0e44fac5b1bc349 (diff)
downloadqemu-6e6efd612f58726189893fd4d948b7fc10acd872.tar.gz
target-arm: Pull "add one cpreg to hashtable" into its own function
define_one_arm_cp_reg_with_opaque() has a set of nested loops which insert a cpreg entry into the hashtable for each of the possible opc/crn/crm values allowed by wildcard specifications. We're about to add an extra loop to this nesting, so pull the core of the loop (which adds a single entry to the hashtable) out into its own function for clarity. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-arm/cpu.h')
0 files changed, 0 insertions, 0 deletions