|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
Re: [Xen-devel] [PATCH] get xenstore buffer in vmx guest
 
On Mon, 2005-09-05 at 16:38 +0800, Xiaofeng Ling wrote:
>   static inline struct ringbuf_head *outbuf(void)
>   {
> -     return mfn_to_virt(xen_start_info.store_mfn);
> +     return XENSTORE_BUF;
>   }
Just a minor thing: I'd really prefer an inline function called
xenstore_page_virt() or something, rather than a macro which looks like
a constant.
Thanks!
Rusty.
-- 
A bad analogy is like a leaky screwdriver -- Richard Braakman
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 |   
 
 | 
    | 
  
  
    |   | 
    |