diff options
author | jhb <jhb@FreeBSD.org> | 2014-06-12 15:20:59 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2014-06-12 15:20:59 +0000 |
commit | fa121e2a0583ed4d209ed72ba227f186e7b9e0f7 (patch) | |
tree | eae60a05387f74ba5f6cf3252cf8783aba4ddd6b /lib/libvmmapi/vmmapi.h | |
parent | a9824f54c0278b53ff825eeb0a4a4165549e7e41 (diff) | |
download | FreeBSD-src-fa121e2a0583ed4d209ed72ba227f186e7b9e0f7.zip FreeBSD-src-fa121e2a0583ed4d209ed72ba227f186e7b9e0f7.tar.gz |
MFC 261504:
Add support for FreeBSD/i386 guests under bhyve.
Diffstat (limited to 'lib/libvmmapi/vmmapi.h')
-rw-r--r-- | lib/libvmmapi/vmmapi.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libvmmapi/vmmapi.h b/lib/libvmmapi/vmmapi.h index 8428987..4a3db5d 100644 --- a/lib/libvmmapi/vmmapi.h +++ b/lib/libvmmapi/vmmapi.h @@ -111,5 +111,8 @@ int vcpu_reset(struct vmctx *ctx, int vcpu); int vm_setup_freebsd_registers(struct vmctx *ctx, int vcpu, uint64_t rip, uint64_t cr3, uint64_t gdtbase, uint64_t rsp); +int vm_setup_freebsd_registers_i386(struct vmctx *vmctx, int vcpu, + uint32_t eip, uint32_t gdtbase, + uint32_t esp); void vm_setup_freebsd_gdt(uint64_t *gdtr); #endif /* _VMMAPI_H_ */ |