-
I am attempting to cover this line specifically the PTE_G high condition. I have read excerpts from the memory management unit (chapter 8) I have noticed and been following along with @mcook26 's contributions and @Noah-G-L 's global and mega page test that are working in a similar area. I believe my next step is to coopt this test to store a instruction in the physical address via the page table entry so that I can access this instruction via a globally flagged page table table entry. (This instruction will be a jump to the return address register location to return to the calling location) I hope to write up this test soon, and try to address this lack of coverage. Please let me know if you see any errors in my thought process that might better enable getting these coverage gaps filled. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Yes. You can do something similar to Noah's code. Make sure you change the leaf PTE previsions to executable. |
Beta Was this translation helpful? Give feedback.
-
#285 Addressed the issue in this discussion, adding jal's to the test. |
Beta Was this translation helpful? Give feedback.
#285 Addressed the issue in this discussion, adding jal's to the test.
I've added some comments and some changes for better test description, in #291