aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/ops.h
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2007-03-22 02:02:21 -0400
committerPaul Mackerras <paulus@samba.org>2007-03-26 01:11:20 -0400
commite5a2072bd48eb4a35c57a8ec45897ac2db3a3f82 (patch)
tree8ee71ecb846416925a3e5796a8f66626db0c6513 /arch/powerpc/boot/ops.h
parentfae59c39e885148acf42320fe0d4ebf4cb3e9231 (diff)
[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 {
73}; 73};
74extern struct loader_info loader_info; 74extern struct loader_info loader_info;
75 75
76void start(void *sp); 76void start(void);
77int ft_init(void *dt_blob, unsigned int max_size, unsigned int max_find_device); 77int ft_init(void *dt_blob, unsigned int max_size, unsigned int max_find_device);
78int serial_console_init(void); 78int serial_console_init(void);
79int ns16550_console_init(void *devp, struct serial_console_data *scdp); 79int ns16550_console_init(void *devp, struct serial_console_data *scdp);