original_kernel/arch/powerpc/boot
David Gibson e5a2072bd4 [POWERPC] New reg.h for the zImage
This patch adds a reg.h to the zImage code, with common definitions
for accessing system registers.  For now, this includes functions for
retrieving the PVR and the stack pointer.  This patch then uses the
new reg.h to let start() display the running stack address without
having to explicitly pass the stack as a parameter from the asm code.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-03-26 15:11:20 +10:00
..
dts
.gitignore
Makefile
README
addRamDisk.c
addnote.c
crt0.S
div64.S
dummy.c
elf.h
flatdevtree.c
flatdevtree.h
flatdevtree_env.h
flatdevtree_misc.c
gunzip_util.c
gunzip_util.h
hack-coff.c
install.sh
io.h
main.c
mktree.c
ns16550.c
of.c
ops.h
page.h
ppc_asm.h
reg.h
rs6000.h
serial.c
simple_alloc.c
stdio.c
stdio.h
string.S
string.h
types.h
util.S
wrapper
zImage.coff.lds.S
zImage.lds.S

README

To extract the kernel vmlinux, System.map, .config or initrd from the zImage binary:

objcopy -j .kernel:vmlinux -O binary zImage vmlinux.gz
objcopy -j .kernel:System.map -O binary zImage System.map.gz
objcopy -j .kernel:.config -O binary zImage config.gz
objcopy -j .kernel:initrd -O binary zImage.initrd initrd.gz


	Peter