summary refs log tree commit diff stats
path: root/hw/misc/hyperv_testdev.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2017-12-13 02:17:36 -0300
committerMichael Tokarev <mjt@tls.msk.ru>2017-12-18 17:07:02 +0300
commit27de8f2dcf9c7daa3f5691cefab3563dea3535d2 (patch)
treead109adfc353b0bd945d86c74e091a103c0082d9 /hw/misc/hyperv_testdev.c
parentcdb70a5c18aec03ef3b8b1bc68d5ca8a3cd80155 (diff)
downloadfocaccia-qemu-27de8f2dcf9c7daa3f5691cefab3563dea3535d2.tar.gz
focaccia-qemu-27de8f2dcf9c7daa3f5691cefab3563dea3535d2.zip
hw/registerfields: add missing include
This allows to use this header in qtests.

This fixes:
    CC      tests/test.o
  include/hw/registerfields.h:32:41: error: implicit declaration of function ‘MAKE_64BIT_MASK’ [-Werror=implicit-function-declaration]
              MAKE_64BIT_MASK(shift, length)};
              ^
  include/hw/registerfields.h:39:5: error: implicit declaration of function ‘extract64’; [-Werror=implicit-function-declaration]
       extract64((storage), R_ ## reg ## _ ## field ## _SHIFT,
       ^

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/misc/hyperv_testdev.c')
0 files changed, 0 insertions, 0 deletions