1da177e4c3
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
51 lines
1.2 KiB
C
51 lines
1.2 KiB
C
/*
|
|
*
|
|
* Copyright (c) 1999-2000 Grant Erickson <grant@lcse.umn.edu>
|
|
*
|
|
* Module name: oak_setup.h
|
|
*
|
|
* Description:
|
|
* Architecture- / platform-specific boot-time initialization code for
|
|
* the IBM PowerPC 403GCX "Oak" evaluation board. Adapted from original
|
|
* code by Gary Thomas, Cort Dougan <cort@cs.nmt.edu>, and Dan Malek
|
|
* <dan@netx4.com>.
|
|
*
|
|
*/
|
|
|
|
#ifndef __OAK_SETUP_H__
|
|
#define __OAK_SETUP_H__
|
|
|
|
#include <asm/ptrace.h>
|
|
#include <asm/board.h>
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
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
|
|
}
|
|
#endif
|
|
|
|
#endif /* __OAK_SETUP_H__ */
|