[codex] Match FAInitDiskManager data #207

Merged
coah80 merged 1 commits from agent/worker50/fa-init-disk-manager-20260922 into main 2026-09-23 02:23:18 +00:00
coah80 commented 2026-09-22 08:49:24 +00:00 (Migrated from github.com)

Summary

  • Mark FAInitDiskManager.c as matching.
  • Reproduce the target unit's 8-byte .sbss layout with FADiskInitialized and its zero-initialized trailing word.

Validation

  • Object, report, main.elf, and main.dol builds pass.
  • Exact unit report: fuzzy, code, data, functions, and complete-unit measures are all 100%; .sbss is 8 bytes.
  • Object symbols match FADiskInitialized at offset 0 with size 4; the trailing word occupies offset 4.
  • pool_diff.py is not applicable because this unit has no .data section.
  • ctxdiff.py is not applicable because this unit has no .text section or functions.
  • Repository-wide build/43U/ok remains blocked by the existing partial tree: current DOL SHA1 is 9ef9a29fb179f32f4ebc97df85b2ab31d684eb88, while config/43U/build.sha1 expects 26116613f624061ba99c8d1a299aaa6efa85670d.

Note

Mark FAInitDiskManager.c as matching and add FADiskInitialized globals

Adds the file-scope integers FADiskInitializedPadding and FADiskInitialized to FAInitDiskManager.c, providing the zero-initialized global data the object needs. Reclassifies the object from NonMatching to Matching in the IPLSection config in configure.py.

Macroscope summarized c538144.

## Summary - Mark `FAInitDiskManager.c` as matching. - Reproduce the target unit's 8-byte `.sbss` layout with `FADiskInitialized` and its zero-initialized trailing word. ## Validation - Object, report, `main.elf`, and `main.dol` builds pass. - Exact unit report: fuzzy, code, data, functions, and complete-unit measures are all 100%; `.sbss` is 8 bytes. - Object symbols match `FADiskInitialized` at offset 0 with size 4; the trailing word occupies offset 4. - `pool_diff.py` is not applicable because this unit has no `.data` section. - `ctxdiff.py` is not applicable because this unit has no `.text` section or functions. - Repository-wide `build/43U/ok` remains blocked by the existing partial tree: current DOL SHA1 is `9ef9a29fb179f32f4ebc97df85b2ab31d684eb88`, while `config/43U/build.sha1` expects `26116613f624061ba99c8d1a299aaa6efa85670d`. <!-- 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] > ### Mark `FAInitDiskManager.c` as matching and add `FADiskInitialized` globals > Adds the file-scope integers `FADiskInitializedPadding` and `FADiskInitialized` to [FAInitDiskManager.c](https://github.com/coah80/wii-ipl/pull/207/files#diff-8875a80beeb835370735ae97f72d9b9400cf1029ab0f22cb2cf15a1860964aa8), providing the zero-initialized global data the object needs. Reclassifies the object from NonMatching to Matching in the IPLSection config in [configure.py](https://github.com/coah80/wii-ipl/pull/207/files#diff-4d5f3192809ec1b9add6b33007e0c50031ad9a0a2f3f55a481b506468824db2c). > > <!-- Macroscope's review summary starts here --> > > <sup><a href="https://app.macroscope.com">Macroscope</a> summarized c538144.</sup> > <!-- Macroscope's review summary ends here --> > <!-- Macroscope's pull request summary ends here -->
Sign in to join this conversation.