[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] hw/register: Document register_init_block @memory_size
From: |
Laurent Vivier |
Subject: |
Re: [PATCH] hw/register: Document register_init_block @memory_size |
Date: |
Mon, 31 Aug 2020 19:42:51 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 |
Le 07/07/2020 à 08:23, Philippe Mathieu-Daudé a écrit :
> 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>
> ---
> include/hw/register.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/include/hw/register.h b/include/hw/register.h
> index 5d2c565ae0..fdac5e69b5 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.
> */
>
Applied to my trivial-patches branch.
Thanks,
Laurent
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH] hw/register: Document register_init_block @memory_size,
Laurent Vivier <=