HomeFreeBSD

MFC r304488, r304623

Description

MFC r304488, r304623

r304488 by manu:
Keep boot parameters in ARM trampoline code

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.
This is usefull when booting with Linux ABI and/or custom bootloader.

Submitted by: Grégory Soutadé <soutade@gmail.com>
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D7395

r304623 by manu:
Fix building for ARM kernel that have FLASHADDR, PHYSADDR and LOADERRAMADDR defined.

Pointy Hat: myself

Reported by: bz

Details

Provenance
gonzoAuthored on
Reviewer
imp
Differential Revision
D7395: ARM : Keep boot parameters in trampoline code
Parents
rS331890: MFC r305094, r305096-r305097
Branches
Unknown
Tags
Unknown