The boot stage 2 has changed significantly recently and has gotten much bigger and will grow much more very soon with the addition of root partition detection. The new boot stage 2 will start at physical address 0x6000 and go to physical address 0x20000, which makes it 88KB in size. I have moved around a lot of the kernel argument stuff (current video mode, start of page pool, ect.) because before we were writing over BIOS data.I have posted the new map as a gist:
The boot stage 2 has changed significantly recently and has gotten much bigger and will grow much more very soon with the addition of root partition detection. The new boot stage 2 will start at physical address
0x6000
and go to physical address0x20000
, which makes it 88KB in size. I have moved around a lot of the kernel argument stuff (current video mode, start of page pool, ect.) because before we were writing over BIOS data.I have posted the new map as a gist:https://gist.github.com/jdetter/ca388fce7828420c313f57535a720f13
A large amount of space has been left in the text section because we still haven't added support for root partition detection