diff options
| author | Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> | 2020-08-06 12:42:53 +0300 | 
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2020-08-14 15:18:30 -0400 | 
| commit | 60e49ff1f8a0b8d48b0d12bad94d0dfb8fdbeec8 (patch) | |
| tree | 23255c3baca7f7d4924f18eea54ca171ccf6f5a2 /drivers/xen/hypervisor.c | |
| parent | e87dfb0526be231de89b299531a0e637d343fccd (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.c | 2 | 
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();  } | 
