freebsd-dev/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
arch-x86
foreign
hvm
io
xsm
acm_ops.h
acm.h
arch-arm.h
arch-powerpc.h
arch-x86_32.h
arch-x86_64.h
callback.h
COPYING
dom0_ops.h
domctl.h
elfnote.h
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
grant_table.h
kexec.h
libelf.h
mem_event.h
memory.h xen: implement the privcmd user-space device 2014-10-22 17:07:20 +00:00
nmi.h
physdev.h msi: add Xen MSI implementation 2014-09-30 16:46:45 +00:00
platform.h
sched.h
sysctl.h
tmem.h
trace.h
vcpu.h
version.h
xen-compat.h
xen.h xen: implement the privcmd user-space device 2014-10-22 17:07:20 +00:00
xencomm.h
xenoprof.h