summaryrefslogtreecommitdiffstats
path: root/sys/amd64/vmm/amd/amdv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/amd64/vmm/amd/amdv.c')
-rw-r--r--sys/amd64/vmm/amd/amdv.c143
1 files changed, 0 insertions, 143 deletions
diff --git a/sys/amd64/vmm/amd/amdv.c b/sys/amd64/vmm/amd/amdv.c
index 4c88d12..ee121b0 100644
--- a/sys/amd64/vmm/amd/amdv.c
+++ b/sys/amd64/vmm/amd/amdv.c
@@ -38,149 +38,6 @@ __FBSDID("$FreeBSD$");
#include "io/iommu.h"
static int
-amdv_init(int ipinum)
-{
-
- printf("amdv_init: not implemented\n");
- return (ENXIO);
-}
-
-static int
-amdv_cleanup(void)
-{
-
- printf("amdv_cleanup: not implemented\n");
- return (ENXIO);
-}
-
-static void
-amdv_resume(void)
-{
-}
-
-static void *
-amdv_vminit(struct vm *vm, struct pmap *pmap)
-{
-
- printf("amdv_vminit: not implemented\n");
- return (NULL);
-}
-
-static int
-amdv_vmrun(void *arg, int vcpu, register_t rip, struct pmap *pmap,
- void *rptr, void *sptr)
-{
-
- printf("amdv_vmrun: not implemented\n");
- return (ENXIO);
-}
-
-static void
-amdv_vmcleanup(void *arg)
-{
-
- printf("amdv_vmcleanup: not implemented\n");
- return;
-}
-
-static int
-amdv_getreg(void *arg, int vcpu, int regnum, uint64_t *retval)
-{
-
- printf("amdv_getreg: not implemented\n");
- return (EINVAL);
-}
-
-static int
-amdv_setreg(void *arg, int vcpu, int regnum, uint64_t val)
-{
-
- printf("amdv_setreg: not implemented\n");
- return (EINVAL);
-}
-
-static int
-amdv_getdesc(void *vmi, int vcpu, int num, struct seg_desc *desc)
-{
-
- printf("amdv_get_desc: not implemented\n");
- return (EINVAL);
-}
-
-static int
-amdv_setdesc(void *vmi, int vcpu, int num, struct seg_desc *desc)
-{
-
- printf("amdv_get_desc: not implemented\n");
- return (EINVAL);
-}
-
-static int
-amdv_getcap(void *arg, int vcpu, int type, int *retval)
-{
-
- printf("amdv_getcap: not implemented\n");
- return (EINVAL);
-}
-
-static int
-amdv_setcap(void *arg, int vcpu, int type, int val)
-{
-
- printf("amdv_setcap: not implemented\n");
- return (EINVAL);
-}
-
-static struct vmspace *
-amdv_vmspace_alloc(vm_offset_t min, vm_offset_t max)
-{
-
- printf("amdv_vmspace_alloc: not implemented\n");
- return (NULL);
-}
-
-static void
-amdv_vmspace_free(struct vmspace *vmspace)
-{
-
- printf("amdv_vmspace_free: not implemented\n");
- return;
-}
-
-static struct vlapic *
-amdv_vlapic_init(void *arg, int vcpuid)
-{
-
- panic("amdv_vlapic_init: not implmented");
-}
-
-static void
-amdv_vlapic_cleanup(void *arg, struct vlapic *vlapic)
-{
-
- panic("amdv_vlapic_cleanup: not implemented");
-}
-
-struct vmm_ops vmm_ops_amd = {
- amdv_init,
- amdv_cleanup,
- amdv_resume,
- amdv_vminit,
- amdv_vmrun,
- amdv_vmcleanup,
- amdv_getreg,
- amdv_setreg,
- amdv_getdesc,
- amdv_setdesc,
- amdv_getcap,
- amdv_setcap,
- amdv_vmspace_alloc,
- amdv_vmspace_free,
- amdv_vlapic_init,
- amdv_vlapic_cleanup,
-};
-
-static int
amd_iommu_init(void)
{
OpenPOWER on IntegriCloud