OSDN Git Service

hw/registerfields: Use 64-bit bitfield for FIELD_DP64
authorJoe Komlodi <joe.komlodi@xilinx.com>
Tue, 20 Jul 2021 18:31:43 +0000 (11:31 -0700)
committerAlistair Francis <alistair.francis@wdc.com>
Wed, 1 Sep 2021 01:59:12 +0000 (11:59 +1000)
commit2a4b4089305daf98a42f165111474ae3e92d5f1f
tree1a0352025de3ba1dbdebe84fe58b4398d8094ead
parent4d63ef20cf970901be1d6dd98743a4851e48f938
hw/registerfields: Use 64-bit bitfield for FIELD_DP64

If we have a field that's wider than 32-bits, we need a data type wide enough to
be able to create the bitfield used to deposit the value.

Signed-off-by: Joe Komlodi <joe.komlodi@xilinx.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 1626805903-162860-3-git-send-email-joe.komlodi@xilinx.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
include/hw/registerfields.h