Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the reserved bit width should be 16 #275

Closed
baimengwei opened this issue Dec 27, 2023 · 2 comments
Closed

the reserved bit width should be 16 #275

baimengwei opened this issue Dec 27, 2023 · 2 comments

Comments

@baimengwei
Copy link

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.

@ved-rivos
Copy link
Collaborator

Thanks for reporting this @baimengwei . It is fixed in PR #276

@baimengwei
Copy link
Author

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants