patch-2.3.39 linux/arch/ppc/kernel/oak_setup.h

Next file: linux/arch/ppc/kernel/open_pic.c
Previous file: linux/arch/ppc/kernel/oak_setup.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.38/linux/arch/ppc/kernel/oak_setup.h linux/arch/ppc/kernel/oak_setup.h
@@ -15,14 +15,32 @@
 #ifndef	__OAK_SETUP_H__
 #define	__OAK_SETUP_H__
 
+#include <asm/ptrace.h>
+#include <asm/board.h>
+
+
 #ifdef __cplusplus
 extern "C" {
 #endif
 
-extern void	 oak_init(unsigned long r3,
-			  unsigned long ird_start, unsigned long ird_end,
-			  unsigned long cline_start, unsigned long cline_end);
-extern void	 oak_setup_arch(void);
+extern unsigned char	 __res[sizeof(bd_t)];
+
+extern void		 oak_init(unsigned long r3,
+				  unsigned long ird_start,
+				  unsigned long ird_end,
+				  unsigned long cline_start,
+				  unsigned long cline_end);
+extern void		 oak_setup_arch(void);
+extern int		 oak_setup_residual(char *buffer);
+extern void		 oak_init_IRQ(void);
+extern int		 oak_get_irq(struct pt_regs *regs);
+extern void		 oak_restart(char *cmd);
+extern void		 oak_power_off(void);
+extern void		 oak_halt(void);
+extern void		 oak_time_init(void);
+extern int		 oak_set_rtc_time(unsigned long now);
+extern unsigned long	 oak_get_rtc_time(void);
+extern void		 oak_calibrate_decr(void);
 
 
 #ifdef __cplusplus

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)