Print this page
13275 bhyve needs richer INIT/SIPI support
Reviewed by: Robert Mustacchi <rm@fingolfin.org>
Approved by: Gordon Ross <gordon.w.ross@gmail.com>
@@ -28,18 +28,21 @@
* $FreeBSD$
*/
/*
* Copyright 2018 Joyent, Inc.
+ * Copyright 2020 Oxide Computer Company
*/
#ifndef _VLAPIC_H_
#define _VLAPIC_H_
struct vm;
enum x2apic_state;
+void vlapic_reset(struct vlapic *vlapic);
+
int vlapic_write(struct vlapic *vlapic, int mmio_access, uint64_t offset,
uint64_t data);
int vlapic_read(struct vlapic *vlapic, int mmio_access, uint64_t offset,
uint64_t *data);