diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2013-12-22 22:32:30 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2014-01-04 22:15:44 +0000 |
commit | 6e6efd612f58726189893fd4d948b7fc10acd872 (patch) | |
tree | f9bf3b87c5f5f7787bf544a4851bcc1eef2b589c /hw/alpha | |
parent | ce5458e82e250c66fe31c716d0e44fac5b1bc349 (diff) | |
download | hqemu-6e6efd612f58726189893fd4d948b7fc10acd872.zip hqemu-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 'hw/alpha')
0 files changed, 0 insertions, 0 deletions