MCPcopy Create free account
hub / github.com/F-Stack/f-stack / vmx_modcleanup

Function vmx_modcleanup

freebsd/amd64/vmm/intel/vmx.c:612–630  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

610}
611
612static int
613vmx_modcleanup(void)
614{
615
616 if (pirvec >= 0)
617 lapic_ipi_free(pirvec);
618
619 if (vpid_unr != NULL) {
620 delete_unrhdr(vpid_unr);
621 vpid_unr = NULL;
622 }
623
624 if (nmi_flush_l1d_sw == 1)
625 nmi_flush_l1d_sw = 0;
626
627 smp_rendezvous(NULL, vmx_disable, NULL, NULL);
628
629 return (0);
630}
631
632static void
633vmx_enable(void *arg __unused)

Callers

nothing calls this directly

Calls 3

lapic_ipi_freeFunction · 0.85
delete_unrhdrFunction · 0.85
smp_rendezvousFunction · 0.85

Tested by

no test coverage detected