HomeFreeBSD

MFC r316374, r316377:

Description

MFC r316374, r316377:

Preserve the registers containing argc, argv, and return address values
passed in from u-boot across the call to self_reloc and any other early-init
code, and restore them before calling main().

Correct a comment... the stack used by ubldr is the same stack u-boot was
running on when it jumped to the ubldr entry point. None of the arches
that use this code set up a different stack in their start.S routines.

Details

Provenance
ianAuthored on
Parents
rS323408: MFC r316995: Add support for the Micrel KSZ8081 ethernet PHY.
Branches
Unknown
Tags
Unknown