Currently boot parameters (r0 - r3) are forgotten in ARM trampoline code. This patch save them at startup and restore them before jumping into kernel _start() routine.
- Group Reviewers
- rS331891: MFC r304488, r304623
rS304488: Keep boot parameters in ARM trampoline code
- rS FreeBSD src repository - subversion
Lint Not Applicable
Tests Not Applicable
Seems reasonable to me. I added code to do this in the normal kernel, but not in the tramp code because I didn't need it. Not sure your boot environment, but it certainly doesn't hurt anything and may help.