On 13.07.19 20:10, Ralf Ramsauer wrote:
> Introduce struct jailhouse_pio_whitelist, and a macro PIO_RANGE that helps to
> fill lists in config files.
>
> Signed-off-by: Ralf Ramsauer <[email protected]>
> ---
> include/jailhouse/cell-config.h | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/include/jailhouse/cell-config.h b/include/jailhouse/cell-config.h
> index 76c9e56f..a57fb9ef 100644
> --- a/include/jailhouse/cell-config.h
> +++ b/include/jailhouse/cell-config.h
> @@ -206,6 +206,17 @@ struct jailhouse_iommu {
> __u32 amd_features;
> } __attribute__((packed));
>
> +struct jailhouse_pio_whitelist {
I think this would be more consistent in naming if we call it jailhouse_pio
(analogously to jailhouse_memory).
> + __u16 base;
> + __u16 length;
> +} __attribute__((packed));
> +
> +#define PIO_RANGE(__base, __length) \
> + { \
> + .base = __base, \
> + .length = __length, \
> + }
> +
> #define JAILHOUSE_SYSTEM_SIGNATURE "JHSYST"
>
> /*
>
Jan
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
--
You received this message because you are subscribed to the Google Groups
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jailhouse-dev/8f93bac2-f44a-ae41-55f3-8d0b96bb3248%40siemens.com.