freebsd-dev/sys/powerpc/booke
Marcel Moolenaar ebf84ceca7 Better support different kernel hand-offs. When loaded directly
from U-Boot, the kernel is passed a standard argc/argv pair.
The Juniper loader passes the metadata pointer as the second
argument and passes 0 in the first. The FreeBSD loader passes
the metadata pointer in the first argument.

As such, have locore preserve the first 2 arguments in registers
r30 & r31. Change e500_init() to accept these arguments. Don't
pass global offsets (i.e. kernel_text and _end) as arguments to
e500_init(). We can reference those directly.

Rename e500_init() to booke_init() now that we're changing the
prototype.

In booke_init(), "decode" arg1 and arg2 to obtain the metadata
pointer correctly. For the U-Boot case, clear SBSS and BSS and
bank on having a static FDT for now. This allows loading the
ELF kernel and jumping to the entry point without trampoline.
2011-05-28 04:10:44 +00:00
..
clock.c After some off-list discussion, revert a number of changes to the 2010-11-22 19:32:54 +00:00
copyinout.c Merge r198724 to Book-E. casuword() non-atomically read the current value 2010-02-20 16:13:43 +00:00
interrupt.c Update PowerPC event timer code to use new event timers infrastructure. 2010-09-11 04:45:51 +00:00
locore.S Better support different kernel hand-offs. When loaded directly 2011-05-28 04:10:44 +00:00
machdep.c Better support different kernel hand-offs. When loaded directly 2011-05-28 04:10:44 +00:00
mp_cpudep.c Add SMP support on U3-based G5 systems. This does not yet work perfectly: 2009-10-23 03:17:02 +00:00
platform_bare.c o The P1020(E) & P2020(E) also have two cores. This conditional has 2011-05-27 23:18:41 +00:00
pmap.c Better support different kernel hand-offs. When loaded directly 2011-05-28 04:10:44 +00:00
swtch.S MFppc64: 2010-07-13 05:32:19 +00:00
trap_subr.S Use local TLB_UNLOCKED marker instead of MTX_UNOWNED for Book-E PowerPC trap 2010-11-11 13:35:23 +00:00
trap.c Remove unused KTRACE includes. 2010-08-19 16:41:27 +00:00
vm_machdep.c For architectures not using direct map , and requiring real KVA page for 2011-01-18 21:57:02 +00:00