Skip to contentSkip to conversation

include xen.h in hvmloader's hypercall.h

PATCH New Andrew D. Ball 1 participant 1 message Aug 11, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

tools/firmware/hvmloader/hypercall.h +2 -0
diff -r 1d817bfc5ed9 tools/firmware/hvmloader/hypercall.h
@@ -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__