Ok. I didn't make 2.4.0 in 2000. Tough. I tried, but we had some
[davej-history.git] / arch / ppc / kernel / walnut_setup.h
bloba6e905333cd7cfede8bbd72aecb0c9cd4da74be0
1 /*
3 * Copyright (c) 1999-2000 Grant Erickson <grant@lcse.umn.edu>
5 * Module name: walnut_setup.c
7 * Description:
8 * Architecture- / platform-specific boot-time initialization code for
9 * the IBM PowerPC 405GP "Walnut" evaluation board. Adapted from original
10 * code by Gary Thomas, Cort Dougan <cort@cs.nmt.edu>, and Dan Malek
11 * <dan@netx4.com>.
15 #ifndef __WALNUT_SETUP_H__
16 #define __WALNUT_SETUP_H__
18 #include <asm/ptrace.h>
19 #include <asm/board.h>
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
26 extern unsigned char __res[sizeof(bd_t)];
28 extern void walnut_init(unsigned long r3,
29 unsigned long ird_start,
30 unsigned long ird_end,
31 unsigned long cline_start,
32 unsigned long cline_end);
33 extern void walnut_setup_arch(void);
34 extern int walnut_setup_residual(char *buffer);
35 extern void walnut_init_IRQ(void);
36 extern int walnut_get_irq(struct pt_regs *regs);
37 extern void walnut_restart(char *cmd);
38 extern void walnut_power_off(void);
39 extern void walnut_halt(void);
40 extern void walnut_time_init(void);
41 extern int walnut_set_rtc_time(unsigned long now);
42 extern unsigned long walnut_get_rtc_time(void);
43 extern void walnut_calibrate_decr(void);
46 #ifdef __cplusplus
48 #endif
50 #endif /* __WALNUT_SETUP_H__ */