Increase max num PMPs to 64
Created by: Moschn
According to the current priv spec, 64 is the new maximum number of PMP entries. This commit aligns the core with the spec and allows up to a maximum number of 64 PMP entries. This commit also tries to simplify and unify the CSR read/write logic for PMPs.
The maximum number of PMPs is only selected in cva64a6_mmu
Related to: #2244 (closed) and #2248
Some further notes:
- Not yet fully tested. Will need some verification effort to test access to all CSRs, etc.
- I found many further PMP-related documentation that mentions 16 entries. This will probably have to be adapted, but I was not sure how some of this documentation was generated, so I did not touch that part yet.