mirror of
https://github.com/elliotnunn/wedge.git
synced 2025-01-27 16:33:40 +00:00
Elliot Nunn
7c5857f00b
Hardcode info record location for dry run
At dry-run time, the NanoKernel is not asked for the location of HWInfo. The pointer block at 5FFFEFC0 is used instead. The location of ConfigInfo was already hardcoded. This neatens things up considerably, but will cause the dry-run Wedge to crash on a machine with a Wedged address space. If the NKLocateInfoRecord code can be cleaned up a bit, then it might be restored.
Description
Patch a 4 MB Power Mac ROM to run arbitrary code just before the NanoKernel takes control
Languages
C++
49.4%
C
47.9%
Assembly
2.7%