6fe60f1d5c
- Use malloc(9) to allocate ivhd_hdrs list. The previous assumption
that there are at most 10 IVHDs in a system is not true. A counter
example would be a system with 4 IOMMUs, and each IOMMU is related
to IVHDs type 10h, 11h and 40h in the ACPI IVRS table.
- Always scan through the whole ivhd_hdrs list to find IVHDs that has
the same DeviceId but less prioritized IVHD type.
Sponsored by: The FreeBSD Foundation
MFC with:
|
||
---|---|---|
.. | ||
amdiommu.c | ||
amdv.c | ||
amdvi_hw.c | ||
amdvi_priv.h | ||
ivhd_if.m | ||
ivrs_drv.c | ||
npt.c | ||
npt.h | ||
svm_genassym.c | ||
svm_msr.c | ||
svm_msr.h | ||
svm_softc.h | ||
svm_support.S | ||
svm.c | ||
svm.h | ||
vmcb.c | ||
vmcb.h |