WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] include xen.h in hvmloader's hypercall.h

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] include xen.h in hvmloader's hypercall.h
From: "Andrew D. Ball" <aball@xxxxxxxxxx>
Date: Fri, 11 Aug 2006 17:48:41 -0400
Delivery-date: Mon, 14 Aug 2006 08:12:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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 <=