hw/register: Document register_init_block @memory_size
PATCH 1/1 hw/register: Document register_init_block @memory_size
Document the 'memory_size' argument of register_init_block().
--- include/hw/register.h | 1 + 1 file changed, 1 insertion(+)
include/hw/register.h +1 -0
@@ -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. */
Signature · 1 line
2.21.3
Quoted 5 lines · Philippe Mathieu-Daudé
Document the '
memory_size' argument ofregister_init_block().Fixes a74229597e ("register: Add block initialise helper")Signed-off-by Philippe Mathieu-Daudé <[email protected]>
Alistair
Quoted 20 lines
--- include/hw/register.h | 1 + 1 file changed, 1 insertion(+)include/hw/register.h +1
-1@@ -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. */ --2.21.3
Le 07/07/2020 à 08:23, Philippe Mathieu-Daudé a écrit :
Quoted 14 lines
Document the '
memory_size' argument ofregister_init_block().Fixes a74229597e ("register: Add block initialise helper")Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- include/hw/register.h | 1 + 1 file changed, 1 insertion(+)include/hw/register.h +0
-0
include/hw/register.h uint64_t register_read_memory(void *opaque, hwaddr addr, unsigned size); · line 187
Quoted 7 lines
include/hw/register.h +1
-0@@ -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. */
Quoted 10 lines · Laurent Vivier
Quoted 8 lines · Philippe Mathieu-Daudé
Document the '
memory_size' argument ofregister_init_block().Fixes a74229597e ("register: Add block initialise helper")Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- include/hw/register.h | 1 + 1 file changed, 1 insertion(+)
Quoted 15 lines
include/hw/register.h uint64_t register_read_memory(void *opaque, hwaddr addr, unsigned size); · line 187
Quoted 13 lines
include/hw/register.h +1
-0@@ -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. */ Reviewed-by Laurent Vivier <[email protected]>
Can this go via the trivial tree?
Alistair
Quoted 1 line
Le 09/07/2020 à 19:19, Alistair Francis a écrit :
Quoted 27 lines · Laurent Vivier
Quoted 10 lines · Philippe Mathieu-Daudé
Quoted 8 lines
Document the '
memory_size' argument ofregister_init_block().Fixes a74229597e ("register: Add block initialise helper")Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- include/hw/register.h | 1 + 1 file changed, 1 insertion(+)Quoted 15 lines
include/hw/register.h uint64_t register_read_memory(void *opaque, hwaddr addr, unsigned size); · line 187
Quoted 13 lines
include/hw/register.h +1
-0@@ -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. */ Reviewed-by Laurent Vivier <[email protected]>
Quoted 2 lines
Can this go via the trivial tree?
Yes, I will try to do a PR before the hard freeze.
Thanks,
Laurent
Quoted 28 lines · Laurent Vivier
Le 09/07/2020 à 19:19, Alistair Francis a écrit :
Quoted 27 lines · Laurent Vivier
Quoted 25 lines · Philippe Mathieu-Daudé
Quoted 14 lines
Document the '
memory_size' argument ofregister_init_block().Fixes a74229597e ("register: Add block initialise helper")Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- include/hw/register.h | 1 + 1 file changed, 1 insertion(+)include/hw/register.h +0
-0include/hw/register.h uint64_t register_read_memory(void *opaque, hwaddr addr, unsigned size); · line 187
Quoted 7 lines
include/hw/register.h +1
-0@@ -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. */ Reviewed-by Laurent Vivier <[email protected]>
Quoted 4 lines
Quoted 2 lines
Can this go via the trivial tree?
Yes, I will try to do a PR before the hard freeze.
No rush, if there is nothing else in your queue
you can safely keep this for 5.2 ;)
Laurent Vivier
AppliedLe 07/07/2020 à 08:23, Philippe Mathieu-Daudé a écrit :
Quoted 14 lines
Document the '
memory_size' argument ofregister_init_block().Fixes a74229597e ("register: Add block initialise helper")Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- include/hw/register.h | 1 + 1 file changed, 1 insertion(+)include/hw/register.h +0
-0
include/hw/register.h uint64_t register_read_memory(void *opaque, hwaddr addr, unsigned size); · line 187
Quoted 7 lines
include/hw/register.h +1
-0@@ -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. */
Applied to my trivial-patches branch.
Thanks,
Laurent