|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
Re: [Xen-devel] passing a cpumask to the hypervisor as an uint8_t
 
Actually, on x86 you don't have to do anything. Little-endian bitmaps do not
have a granularity (byte-chunked bitmap is same as a longword-chunked
bitmap).
 -- Keir
On 26/10/07 17:37, "Langsdorf, Mark" <mark.langsdorf@xxxxxxx> wrote:
> Keir, Kevin -
> 
> Could you please provide the code snippet
> for passing the cpumask out of the Linux
> dom0 to the Xen hypervisor in the new
> getidletime platform op?  Linux cpumasks
> are structures to an array of unsigned
> long, but getidletime takes it as a
> XEN_GUEST_HANDLE(uint8_t).  I can't figure
> out the conversation.  Thanks in advanace.
> 
> -Mark Langsdorf
> Operating System Research Center
> AMD
> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 
 |   
 
 | 
    | 
  
  
    |   | 
    |