Closed baimengwei closed 7 months ago
https://github.com/riscv-non-isa/riscv-iommu/blob/main/iommu_ref_model/libiommu/include/iommu_data_structures.h#L240
typedef union { struct { uint64_t PPN:44; uint64_t reserved:15; uint64_t MODE:4; }; uint64_t raw; } msiptp_t;
the total width should be 64.
Thanks for reporting this @baimengwei . It is fixed in PR #276
Thanks.
https://github.com/riscv-non-isa/riscv-iommu/blob/main/iommu_ref_model/libiommu/include/iommu_data_structures.h#L240
the total width should be 64.