Skip to content

Implement Section Suite Tests - #117

Merged
ergo720 merged 2 commits into
Cxbx-Reloaded:masterfrom
RadWolfie:impl-section-suite
Jul 25, 2026
Merged

Implement Section Suite Tests#117
ergo720 merged 2 commits into
Cxbx-Reloaded:masterfrom
RadWolfie:impl-section-suite

Conversation

@RadWolfie

@RadWolfie RadWolfie commented Jul 14, 2026

Copy link
Copy Markdown
Member

The following kernel APIs are implemented for the tests:

  • XeLoadSection
  • XeUnloadSection

This pull request adds new tests and further verification checks on top of PatrickvL's #112 pull request for both APIs.

Note

The nxdk toolchain, specifically the cxbe tool, currently does not support marking a section to prevent it from being preloaded. Additionally, it creates unnecessary overlapping shared page pointers with other sections, which prevents standalone sections from being able to load or unload at will. To resolve this, I implemented a workaround using a preChecklist function.

Comment thread src/tests/xe/suite/section.c Outdated
Comment thread src/tests/xe/suite/section.c Outdated
@RadWolfie
RadWolfie force-pushed the impl-section-suite branch from 60e2731 to 30e3dc2 Compare July 24, 2026 05:49
@RadWolfie
RadWolfie force-pushed the impl-section-suite branch from 30e3dc2 to d36de7c Compare July 24, 2026 05:55
Comment thread src/tests/xe/suite/section.c
@ergo720
ergo720 merged commit 741e77b into Cxbx-Reloaded:master Jul 25, 2026
1 check passed
@RadWolfie
RadWolfie deleted the impl-section-suite branch July 25, 2026 14:57
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

Successfully merging this pull request may close these issues.

3 participants