svn commit: r298971 - head/sys/i386/include/xen

Roger Pau Monné royger at FreeBSD.org
Tue May 3 08:05:15 UTC 2016


Author: royger
Date: Tue May  3 08:05:14 2016
New Revision: 298971
URL: https://svnweb.freebsd.org/changeset/base/298971

Log:
  xen/i386: enable the platform hypercall for i386
  
  Not sure why the platform hypercall was disabled on i386, just enable it in
  order to fix compilation of the PV timer on i386.
  
  Sponsored by: Citrix Systems R&D

Modified:
  head/sys/i386/include/xen/hypercall.h

Modified: head/sys/i386/include/xen/hypercall.h
==============================================================================
--- head/sys/i386/include/xen/hypercall.h	Tue May  3 08:04:34 2016	(r298970)
+++ head/sys/i386/include/xen/hypercall.h	Tue May  3 08:05:14 2016	(r298971)
@@ -209,7 +209,7 @@ HYPERVISOR_set_timer_op(
 	unsigned long timeout_lo = (unsigned long)timeout;
 	return _hypercall2(long, set_timer_op, timeout_lo, timeout_hi);
 }
-#if 0
+
 static inline int
 HYPERVISOR_platform_op(
         struct xen_platform_op *platform_op)
@@ -217,7 +217,7 @@ HYPERVISOR_platform_op(
         platform_op->interface_version = XENPF_INTERFACE_VERSION;
         return _hypercall1(int, platform_op, platform_op);
 }
-#endif
+
 static inline int
 HYPERVISOR_set_debugreg(
 	int reg, unsigned long value)


More information about the svn-src-all mailing list