Patch a 4 MB Power Mac ROM to run arbitrary code just before the NanoKernel takes control
Go to file
Elliot Nunn 95df455703 Add the Wedge
The Wedge is a C program that, when inserted into a PowerPC ROM, runs
just before the NanoKernel. This is very early in the boot process. The
Wedge takes this opportunity to rearrange the MacOS address space and
make more than 1.5 GB RAM available to applications. Some serious
problems remain with this approach, so a "proper" solution to the 1.5 GB
RAM limit will take more work.

This code was ripped out of the old CDG5 build system and refactored. It
it more appropriate to keep the Wedge separate from the real OS code.
2017-11-19 22:33:41 +08:00
.gitignore Add the Wedge 2017-11-19 22:33:41 +08:00
EasyBuild Add the Wedge 2017-11-19 22:33:41 +08:00
Linker.c Add the Wedge 2017-11-19 22:33:41 +08:00
MakeFile Add the Wedge 2017-11-19 22:33:41 +08:00
NKShim.h Add the Wedge 2017-11-19 22:33:41 +08:00
NKShim.s Add the Wedge 2017-11-19 22:33:41 +08:00
PPCInfoRecordsPriv.h Add the Wedge 2017-11-19 22:33:41 +08:00
Wedge.c Add the Wedge 2017-11-19 22:33:41 +08:00
WedgeLogReader.c Add the Wedge 2017-11-19 22:33:41 +08:00
WedgeStub.s Add the Wedge 2017-11-19 22:33:41 +08:00
printf.c Add the Wedge 2017-11-19 22:33:41 +08:00
printf.h Add the Wedge 2017-11-19 22:33:41 +08:00