register: Add block initialise helper
commita74229597e2c226a1a1f46a8926a0d2ec9c7574e
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Mon, 4 Jul 2016 12:06:36 +0000 (4 13:06 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 4 Jul 2016 12:15:22 +0000 (4 13:15 +0100)
tree5ff4a221d441cb22f5c2bd59c656dfe6687fd02b
parent49e14ddbcef3477c9c47900ef132a92d1ca4180c
register: Add block initialise helper

Add a helper that will scan a static RegisterAccessInfo Array
and populate a container MemoryRegion with registers as defined.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Message-id: 347b810b2799e413c98d5bbeca97bcb1557946c3.1467053537.git.alistair.francis@xilinx.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/core/register.c
include/hw/register.h