[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v4 1/3] x86: Consolidate boolean inputs in hvm and p2m into their own respective bitmaps.



> +struct p2m_access_check_info {
> +    uint8_t read_access:1;
> +    uint8_t write_access:1;
> +    uint8_t insn_fetch:1;
> +    uint8_t gla_valid:1;
> +    uint8_t have_extra_fault_info:1;
> +    uint8_t extra_fault_info:1;
> +};
> +#define P2M_FAULT_IN_GPT      0u
> +#define P2M_FAULT_WITH_GLA    1u

Similar comments here; the enum of course could be re-used.

Jan

Where would I need to put that shared enum, which header?

Thanks,
Tamas
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.