diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-07-07 08:23:08 +0200 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2020-08-31 19:41:58 +0200 |
commit | 268f54974b3ca2d9e634b7a2fb47cb8245b8b6a4 (patch) | |
tree | b84f3b0cda6061b68aa6d20f447b74e4cd5ebcf4 /include/hw | |
parent | 39335fab59e11cfda9b7cf63929825db2dd3a3e0 (diff) | |
download | qemu-268f54974b3ca2d9e634b7a2fb47cb8245b8b6a4.zip qemu-268f54974b3ca2d9e634b7a2fb47cb8245b8b6a4.tar.gz qemu-268f54974b3ca2d9e634b7a2fb47cb8245b8b6a4.tar.bz2 |
hw/register: Document register_init_block @memory_size
Document the 'memory_size' argument of register_init_block().
Fixes: a74229597e ("register: Add block initialise helper")
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20200707062308.4531-1-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/register.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/register.h b/include/hw/register.h index 5d2c565..fdac5e6 100644 --- a/include/hw/register.h +++ b/include/hw/register.h @@ -181,6 +181,7 @@ uint64_t register_read_memory(void *opaque, hwaddr addr, unsigned size); * @data: Array to use for register data, must already be allocated * @ops: Memory region ops to access registers. * @debug enabled: turn on/off verbose debug information + * @memory_size: Size of the memory region * returns: A structure containing all of the registers and an initialized * memory region (r_array->mem) the caller should add to a container. */ |