microsoft / microsoft/mu_basecore
[Feature]: CpuPageTableMap.c Unit Tests
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 290
- Forks
- 187
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 37
Description
### Feature Overview
PageTableLibMapInLevel has a comment `TODO: Author unit test to verify the split pages meet expected attribute bits.`
Which means that some unit tests need to be generated to ensure that page tables are split correctly.
### Solution Overview
Generate a host based unit test that will verify splitting of page tables occurs correctly.
### Alternatives Considered
_No response_
### Urgency
Low
### Are you going to implement the feature request?
Someone else needs to implement the feature
### Do you need maintainer feedback?
No maintainer feedback needed
### Anything else?
_No response_
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with CpuPageTableMap.c and the PageTableLibMapInLevel TODO about testing split-page attribute bits. Identify the repository's host-based unit-test entry point, then add coverage that verifies page-table splitting and the expected attribute bits. Done means the new host test passes and catches incorrect splits.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- embedded-iot, operating-systems, testing-qa
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100