Closed sometimesawake closed 1 year ago
https://github.com/riscv-non-isa/riscv-iommu/blob/61026efa47a8a4fdcf301788044aba2308add3bf/iommu_ref_model/libiommu/src/iommu_device_context.c#L16
above DDI array should be of uint16_t as max value may exceed 8-bit.
Thanks. Fixed the issue for DDT and PDT indices in PR #255
https://github.com/riscv-non-isa/riscv-iommu/blob/61026efa47a8a4fdcf301788044aba2308add3bf/iommu_ref_model/libiommu/src/iommu_device_context.c#L16
above DDI array should be of uint16_t as max value may exceed 8-bit.