summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/ops.h
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2007-03-22 07:02:21 +0100
committerPaul Mackerras <paulus@samba.org>2007-03-26 07:11:20 +0200
commite5a2072bd48eb4a35c57a8ec45897ac2db3a3f82 (patch)
tree8ee71ecb846416925a3e5796a8f66626db0c6513 /arch/powerpc/boot/ops.h
parent[POWERPC] Add gcc format warnings to zImage printf() (diff)
downloadlinux-e5a2072bd48eb4a35c57a8ec45897ac2db3a3f82.tar.xz
linux-e5a2072bd48eb4a35c57a8ec45897ac2db3a3f82.zip
[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>
Diffstat (limited to 'arch/powerpc/boot/ops.h')
-rw-r--r--arch/powerpc/boot/ops.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/boot/ops.h b/arch/powerpc/boot/ops.h
index ea5368caca59..592dc6c20bdb 100644
--- a/arch/powerpc/boot/ops.h
+++ b/arch/powerpc/boot/ops.h
@@ -73,7 +73,7 @@ struct loader_info {
};
extern struct loader_info loader_info;
-void start(void *sp);
+void start(void);
int ft_init(void *dt_blob, unsigned int max_size, unsigned int max_find_device);
int serial_console_init(void);
int ns16550_console_init(void *devp, struct serial_console_data *scdp);