aboutsummaryrefslogtreecommitdiff
path: root/memory_mapping.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2020-05-17 10:14:11 -0700
committerRichard Henderson <richard.henderson@linaro.org>2020-06-08 10:36:47 -0700
commit08561fc1283568d9892033f98651010a18d8f108 (patch)
tree67431768a032b0ccf22d2f82728855c4e6bd9866 /memory_mapping.c
parentb44b3449a08818f0eb25b93faaf535e9c9a85e50 (diff)
downloadqemu-08561fc1283568d9892033f98651010a18d8f108.zip
qemu-08561fc1283568d9892033f98651010a18d8f108.tar.gz
qemu-08561fc1283568d9892033f98651010a18d8f108.tar.bz2
decodetree: Move semantic propagation into classes
Create ExcMultiPattern to hold an set of non-overlapping patterns. The body of build_tree, prop_format become member functions on this class. Add minimal member functions to Pattern and MultiPattern to allow recusion through the tree. Move the bulk of build_incmulti_pattern to prop_masks and prop_width in MultiPattern, since we will need this for both kinds of containers. Only perform prop_width for variablewidth. Remove global patterns variable, and pass down container object into parse_file from main. No functional change in all of this. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'memory_mapping.c')
0 files changed, 0 insertions, 0 deletions