|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
[Xen-devel] [PATCH] include xen.h in hvmloader's hypercall.h
 
I needed to include <xen/xen.h> somewhere to use hypercalls outside of
hvmloader.c in tools/firmware/hvmloader.  Looks like hypercall.h should
include it, since it refers to constants from it.
Peace.
Andrew
Include xen.h for __HYPERVISOR* constants.
Signed-off-by: Andrew D. Ball <aball@xxxxxxxxxx>
diff -r 1d817bfc5ed9 tools/firmware/hvmloader/hypercall.h
--- a/tools/firmware/hvmloader/hypercall.h      Fri Aug 11 14:22:54 2006 +0100
+++ b/tools/firmware/hvmloader/hypercall.h      Fri Aug 11 17:17:49 2006 -0400
@@ -27,6 +27,8 @@
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
  * IN THE SOFTWARE.
  */
+
+#include <xen/xen.h>
 
 #ifndef __HVMLOADER_HYPERCALL_H__
 #define __HVMLOADER_HYPERCALL_H__
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread> |  
- [Xen-devel] [PATCH] include xen.h in hvmloader's hypercall.h,
Andrew D. Ball <=
  
 |  
  
 | 
    | 
  
  
    |   | 
    |