Changeset View
Changeset View
Standalone View
Standalone View
sys/amd64/include/vmm.h
Context not available. | |||||
void vm_free_memseg(struct vm *vm, int ident); | void vm_free_memseg(struct vm *vm, int ident); | ||||
int vm_map_mmio(struct vm *vm, vm_paddr_t gpa, size_t len, vm_paddr_t hpa); | int vm_map_mmio(struct vm *vm, vm_paddr_t gpa, size_t len, vm_paddr_t hpa); | ||||
int vm_unmap_mmio(struct vm *vm, vm_paddr_t gpa, size_t len); | int vm_unmap_mmio(struct vm *vm, vm_paddr_t gpa, size_t len); | ||||
int vm_wire_gpa(struct vm *const vm, const vm_paddr_t gpa, | |||||
const vm_paddr_t len); | |||||
int vm_unwire_gpa(struct vm *const vm, const vm_paddr_t gpa, | |||||
const vm_paddr_t len); | |||||
int vm_assign_pptdev(struct vm *vm, int bus, int slot, int func); | int vm_assign_pptdev(struct vm *vm, int bus, int slot, int func); | ||||
int vm_unassign_pptdev(struct vm *vm, int bus, int slot, int func); | int vm_unassign_pptdev(struct vm *vm, int bus, int slot, int func); | ||||
Context not available. | |||||
} u; | } u; | ||||
}; | }; | ||||
enum vm_acpi_device_info_type { | |||||
VM_ACPI_DEVICE_INFO_CRS, | |||||
}; | |||||
enum vm_memory_region_type { | |||||
MEMORY_REGION_INTEL_GSM, | |||||
MEMORY_REGION_INTEL_OPREGION, | |||||
MEMORY_REGION_TPM_CONTROL_ADDRESS, | |||||
}; | |||||
/* APIs to inject faults into the guest */ | /* APIs to inject faults into the guest */ | ||||
void vm_inject_fault(void *vm, int vcpuid, int vector, int errcode_valid, | void vm_inject_fault(void *vm, int vcpuid, int vector, int errcode_valid, | ||||
int errcode); | int errcode); | ||||
Context not available. |