microsoft / microsoft/mu_basecore

[Feature]: CpuPageTableMap.c Unit Tests

Open
#1,082 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

state:backlog state:needs-owner state:needs-triage type:feature-request urgency:low
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.