mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-11 04:42:16 +01:00
399386f190
The current xc_printf() function uses an hypercall in order to send character buffers to the hypervisor for it to print on the hypervisor console (if the hypervisor is configured to print such messages). This requires the hypercall page to be initialized, which is extra work and can go wrong. On x86 instead of using the console IO hypercall use the debug console IO port, also called "port E9 hack". This allows sending characters to Xen using an outb instruction, without any initialization required. Keep the previous hypervisor based implementation by using the weak attribute, which allows each architecture to provide an alternate (arch-specific) implementation. Sponsored by: Cloud Software Group Reviewed by: markj Differential revision: https://reviews.freebsd.org/D43929 |
||
---|---|---|
.. | ||
evtchn | ||
xenbus | ||
xenmem | ||
xenstore | ||
blkif.h | ||
error.h | ||
evtchn.h | ||
features.c | ||
features.h | ||
gntdev.h | ||
gnttab.h | ||
hvm.h | ||
hypervisor.h | ||
privcmd.h | ||
xen_common.c | ||
xen_intr.h | ||
xen_pv.h | ||
xen-os.h |