On Fri, Feb 10, 2017 at 7:43 PM, Philippe Mathieu-Daudé wrote:
> The register_read() function expects a bitmask argument. To avoid duplicated
The register_read() and register_write() functions
> code, a new inlined function register_enabled_mask() is introduced.
>
> Signed-off-by: Philippe Mathi
The register_read() function expects a bitmask argument. To avoid duplicated
code, a new inlined function register_enabled_mask() is introduced.
Signed-off-by: Philippe Mathieu-Daudé
---
v2: squashed together both previous commits as suggested by Francis Alistair.
hw/core/register.c | 21 +