|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] xen/arm: Add support for 16 bit VMIDs
On 23/11/16 10:38, Bhupinder Thakur wrote: Hi, Hi Bhupinder,Can you configure your e-mail client to use ">" to quote the previous answer? Using tab makes the mail quite confusing. Thank you. I am not asking the bitmap to be static but the number of vmid to be a constant (not a variable) for ARM32. I prefer to have the bitmap dynamic on both architecture because it is will be easier to maintain the code in long term. What I was asking for is: #ifdef CONFIG_ARM_64 /* The VMID is encoded on 8-bit minimum. */ static unsigned int __read_mostly max_vmid = MAX_VMID_8BIT; #define MAX_VMID max_vmid #else /* The VMID is always encoded on 8-bit */ #define MAX_VMID MAX_VMID_8BIT #endifThe code would use MAX_VMID and the variable max_vmid would only be defined for arm64 breaking the compilation directly if used in the common code. [...] Yes, or any other name mentioning the register name in the define. This is how are defined all the register constant within this file. Regards, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |