decomp: match RevoEX ncdsystem #138

Merged
coah80 merged 1 commits from agent/refill24-ncdsystem into main 2026-09-22 07:08:32 +00:00
coah80 commented 2026-09-22 07:07:47 +00:00 (Migrated from github.com)

Adds the readable C implementation for main/libs/RevoEX/src/ncd/ncdsystem.

Validation:

  • Objdiff: 100.0% overall; 4180/4180 code, 496/496 data, and 15/15 functions.
  • Exact symbol comparison: all 15 symbols match, including NCDSetIfConfig at 0x26c.
  • Pool diff: identical across all 10 strings.
  • Ctxdiff: zero instruction differences.
  • Full link: completed. The wider incomplete branch produced DOL SHA-1 f9ed9ebdcd6a0bdfe7e300961d9f9414b547f2d7 versus expected 26116613f624061ba99c8d1a299aaa6efa85670d; the final ok hash gate remains pending outside this unit.

The implementation originated as e61f43b2 and is rebased onto current main as cd2a1262.

Note

Add RevoEX ncdsystem module implementation

  • Implements the ncdsystem module in libs/RevoEX/src/ncd/ncdsystem.c to match the original library.
  • Adds APIs for configuration management, interface and IP settings, and wireless driver operations that route through /dev/net/ncd/manage using a shared IPC buffer.
  • Initializes module state on first use, registering the NCD version and reserving a 0x1B60-byte aligned IPC heap region.
  • Risk: LockRight panics if the IPC arena does not have enough space for the NCD heap.

Macroscope summarized cd2a126.

Adds the readable C implementation for `main/libs/RevoEX/src/ncd/ncdsystem`. Validation: - Objdiff: 100.0% overall; 4180/4180 code, 496/496 data, and 15/15 functions. - Exact symbol comparison: all 15 symbols match, including `NCDSetIfConfig` at 0x26c. - Pool diff: identical across all 10 strings. - Ctxdiff: zero instruction differences. - Full link: completed. The wider incomplete branch produced DOL SHA-1 `f9ed9ebdcd6a0bdfe7e300961d9f9414b547f2d7` versus expected `26116613f624061ba99c8d1a299aaa6efa85670d`; the final `ok` hash gate remains pending outside this unit. The implementation originated as `e61f43b2` and is rebased onto current `main` as `cd2a1262`. <!-- Macroscope's pull request summary starts here --> <!-- Macroscope will only edit the content between these invisible markers, and the markers themselves will not be visible in the GitHub rendered markdown. --> <!-- If you delete either of the start / end markers from your PR's description, Macroscope will append its summary at the bottom of the description. --> > [!NOTE] > ### Add RevoEX `ncdsystem` module implementation > - Implements the `ncdsystem` module in `libs/RevoEX/src/ncd/ncdsystem.c` to match the original library. > - Adds APIs for configuration management, interface and IP settings, and wireless driver operations that route through `/dev/net/ncd/manage` using a shared IPC buffer. > - Initializes module state on first use, registering the NCD version and reserving a 0x1B60-byte aligned IPC heap region. > - Risk: `LockRight` panics if the IPC arena does not have enough space for the NCD heap. > > <!-- Macroscope's review summary starts here --> > > <sup><a href="https://app.macroscope.com">Macroscope</a> summarized cd2a126.</sup> > <!-- Macroscope's review summary ends here --> > <!-- Macroscope's pull request summary ends here -->
Sign in to join this conversation.