opnsense-src/sys/xen/interface
Roger Pau Monné bf7313e3b7 xen: implement the privcmd user-space device
This device is only attached to priviledged domains, and allows the
toolstack to interact with Xen. The two functions of the privcmd
interface is to allow the execution of hypercalls from user-space, and
the mapping of foreign domain memory.

Sponsored by: Citrix Systems R&D

i386/include/xen/hypercall.h:
amd64/include/xen/hypercall.h:
 - Introduce a function to make generic hypercalls into Xen.

xen/interface/xen.h:
xen/interface/memory.h:
 - Import the new hypercall XENMEM_add_to_physmap_range used by
   auto-translated guests to map memory from foreign domains.

dev/xen/privcmd/privcmd.c:
 - This device has the following functions:
   - Allow user-space applications to make hypercalls into Xen.
   - Allow user-space applications to map memory from foreign domains,
     this is accomplished using the newly introduced hypercall
     (XENMEM_add_to_physmap_range).

xen/privcmd.h:
 - Public ioctl interface for the privcmd device.

x86/xen/hvm.c:
 - Remove declaration of hypercall_page, now it's declared in
   hypercall.h.

conf/files:
 - Add the privcmd device to the build process.
2014-10-22 17:07:20 +00:00
..
arch-arm/hvm Upgrade Xen interface headers to Xen 4.2.1. 2013-06-14 23:43:44 +00:00
arch-x86 Upgrade Xen interface headers to Xen 4.2.1. 2013-06-14 23:43:44 +00:00
foreign Adjust i386 Xen PV support for updated Xen interface files. 2013-06-17 01:43:07 +00:00
hvm Upgrade Xen interface headers to Xen 4.2.1. 2013-06-14 23:43:44 +00:00
io Upgrade Xen interface headers to Xen 4.2.1. 2013-06-14 23:43:44 +00:00
xsm Upgrade Xen interface headers to Xen 4.2.1. 2013-06-14 23:43:44 +00:00
acm.h
acm_ops.h
arch-arm.h Upgrade Xen interface headers to Xen 4.2.1. 2013-06-14 23:43:44 +00:00
arch-powerpc.h
arch-x86_32.h Upgrade Xen interface headers to Xen 4.2.1. 2013-06-14 23:43:44 +00:00
arch-x86_64.h Upgrade Xen interface headers to Xen 4.2.1. 2013-06-14 23:43:44 +00:00
callback.h
COPYING
dom0_ops.h
domctl.h Upgrade Xen interface headers to Xen 4.2.1. 2013-06-14 23:43:44 +00:00
elfnote.h Upgrade Xen interface headers to Xen 4.2.1. 2013-06-14 23:43:44 +00:00
elfstructs.h
event_channel.h Implement vector callback for PVHVM and unify event channel implementations 2013-08-29 19:52:18 +00:00
features.h Upgrade Xen interface headers to Xen 4.2.1. 2013-06-14 23:43:44 +00:00
grant_table.h Upgrade Xen interface headers to Xen 4.2.1. 2013-06-14 23:43:44 +00:00
kexec.h Upgrade Xen interface headers to Xen 4.2.1. 2013-06-14 23:43:44 +00:00
libelf.h
mem_event.h Upgrade Xen interface headers to Xen 4.2.1. 2013-06-14 23:43:44 +00:00
memory.h xen: implement the privcmd user-space device 2014-10-22 17:07:20 +00:00
nmi.h Upgrade Xen interface headers to Xen 4.2.1. 2013-06-14 23:43:44 +00:00
physdev.h msi: add Xen MSI implementation 2014-09-30 16:46:45 +00:00
platform.h Upgrade Xen interface headers to Xen 4.2.1. 2013-06-14 23:43:44 +00:00
sched.h Upgrade Xen interface headers to Xen 4.2.1. 2013-06-14 23:43:44 +00:00
sysctl.h Upgrade Xen interface headers to Xen 4.2.1. 2013-06-14 23:43:44 +00:00
tmem.h Upgrade Xen interface headers to Xen 4.2.1. 2013-06-14 23:43:44 +00:00
trace.h Upgrade Xen interface headers to Xen 4.2.1. 2013-06-14 23:43:44 +00:00
vcpu.h Upgrade Xen interface headers to Xen 4.2.1. 2013-06-14 23:43:44 +00:00
version.h Upgrade Xen interface headers to Xen 4.2.1. 2013-06-14 23:43:44 +00:00
xen-compat.h Upgrade Xen interface headers to Xen 4.2.1. 2013-06-14 23:43:44 +00:00
xen.h xen: implement the privcmd user-space device 2014-10-22 17:07:20 +00:00
xencomm.h
xenoprof.h Upgrade Xen interface headers to Xen 4.2.1. 2013-06-14 23:43:44 +00:00