aboutsummaryrefslogtreecommitdiff
path: root/qemu-io-cmds.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2023-05-23 13:04:43 +0100
committerRichard Henderson <richard.henderson@linaro.org>2023-05-30 10:55:39 -0700
commit7e62609353b88d9aeee9715b534588af351075af (patch)
tree01995f369779e02fd4aad3303c7690da756f8b76 /qemu-io-cmds.c
parent656666dc7d1b8508b1a528367e683ad2af5960a3 (diff)
downloadqemu-7e62609353b88d9aeee9715b534588af351075af.zip
qemu-7e62609353b88d9aeee9715b534588af351075af.tar.gz
qemu-7e62609353b88d9aeee9715b534588af351075af.tar.bz2
docs: Document decodetree named field syntax
Document the named field syntax that we want to implement for the decodetree script. This allows a field to be defined in terms of some other field that the instruction pattern has already set, for example: %sz_imm 10:3 sz:3 !function=expand_sz_imm to allow a function to be passed both an immediate field from the instruction and also a sz value which might have been specified by the instruction pattern directly (sz=1, etc) rather than being a simple field within the instruction. Note that the restriction on not having the format referring to the pattern and the pattern referring to the format simultaneously is a restriction of the decoder generator rather than inherently being a silly thing to do. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230523120447.728365-3-peter.maydell@linaro.org>
Diffstat (limited to 'qemu-io-cmds.c')
0 files changed, 0 insertions, 0 deletions