summaryrefslogtreecommitdiff
path: root/drivers/xen/hypervisor.c
diff options
context:
space:
mode:
authorOleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>2020-08-06 12:42:53 +0300
committerTom Rini <trini@konsulko.com>2020-08-14 15:18:30 -0400
commit60e49ff1f8a0b8d48b0d12bad94d0dfb8fdbeec8 (patch)
tree23255c3baca7f7d4924f18eea54ca171ccf6f5a2 /drivers/xen/hypervisor.c
parente87dfb0526be231de89b299531a0e637d343fccd (diff)
xen: Port Xen bus driver from mini-os
Make required updates to run on u-boot and strip test code. Signed-off-by: Anastasiia Lukianenko <anastasiia_lukianenko@epam.com> Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Diffstat (limited to 'drivers/xen/hypervisor.c')
-rw-r--r--drivers/xen/hypervisor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/xen/hypervisor.c b/drivers/xen/hypervisor.c
index 63fed6074f3..1c7ae94bdf9 100644
--- a/drivers/xen/hypervisor.c
+++ b/drivers/xen/hypervisor.c
@@ -21,6 +21,7 @@
#include <xen/hvm.h>
#include <xen/events.h>
+#include <xen/xenbus.h>
#include <xen/interface/memory.h>
#define active_evtchns(cpu, sh, idx) \
@@ -236,5 +237,6 @@ void xen_init(void)
map_shared_info(NULL);
init_events();
+ init_xenbus();
}