diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2017-01-27 15:20:21 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2017-01-27 15:20:21 +0000 |
commit | afb3141c660f3dca38227901c5c62cef7af86647 (patch) | |
tree | 81fb64c7a0dbcb1becb04503906eaccc978a5dbc /tests/qapi-schema/test-qapi.py | |
parent | 1b9ea408fca1ce8caae67b792355b023c69c5ac5 (diff) | |
download | qemu-afb3141c660f3dca38227901c5c62cef7af86647.zip qemu-afb3141c660f3dca38227901c5c62cef7af86647.tar.gz qemu-afb3141c660f3dca38227901c5c62cef7af86647.tar.bz2 |
hw/registerfields.h: Pull FIELD etc macros out of hw/register.h
hw/register.h provides macros like FIELD which make it easy to define
shift, mask and length constants for the fields within a register.
Unfortunately register.h also includes a lot of other things, some
of which will only compile in the softmmu build.
Pull the FIELD macro and friends out into a separate header file,
so they can be used in places like target/arm files which also
get built in the user-only configs.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 1484937883-1068-5-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'tests/qapi-schema/test-qapi.py')
0 files changed, 0 insertions, 0 deletions