diff options
author | Roger Pau Monné <royger@FreeBSD.org> | 2018-07-19 08:44:52 +0000 |
---|---|---|
committer | Roger Pau Monné <royger@FreeBSD.org> | 2018-07-19 08:44:52 +0000 |
commit | b0663c33c2566aae3875bd3d22f42342aeddd0c0 (patch) | |
tree | 264eb6cddb6c70222d1f856577b36a1aac58db77 /sys/xen | |
parent | 07c2711fbf96d1b070b319b2d7f331430fc5ec2d (diff) | |
download | src-test2-b0663c33c2566aae3875bd3d22f42342aeddd0c0.tar.gz src-test2-b0663c33c2566aae3875bd3d22f42342aeddd0c0.zip |
xen: implement early init helper for PVHv2
In order to setup an initial environment and jump into the generic
hammer_time initialization function. Some of the code is shared with
PVHv1, while other code is PVHv2 specific.
This allows booting FreeBSD as a PVHv2 DomU and Dom0.
Sponsored by: Citrix Systems R&D
Notes
Notes:
svn path=/head/; revision=336474
Diffstat (limited to 'sys/xen')
-rw-r--r-- | sys/xen/hvm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/xen/hvm.h b/sys/xen/hvm.h index 055ba4ffe752..bc7518d26575 100644 --- a/sys/xen/hvm.h +++ b/sys/xen/hvm.h @@ -102,4 +102,7 @@ int xen_hvm_init_hypercall_stubs(enum xen_hvm_init_type); void xen_hvm_set_callback(device_t); void xen_hvm_suspend(void); void xen_hvm_resume(bool suspend_cancelled); + +extern uint32_t hvm_start_flags; + #endif /* __XEN_HVM_H__ */ |