2002-11-18 00:14:45 +00:00
|
|
|
/*
|
|
|
|
* (C) Copyright 2002
|
2011-08-04 16:45:45 +00:00
|
|
|
* Daniel Engström, Omicron Ceti AB, daniel@omicron.se.
|
2002-11-18 00:14:45 +00:00
|
|
|
*
|
|
|
|
* See file CREDITS for list of people who contributed to this
|
|
|
|
* project.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License as
|
|
|
|
* published by the Free Software Foundation; either version 2 of
|
|
|
|
* the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
|
|
* MA 02111-1307 USA
|
|
|
|
*/
|
|
|
|
|
2003-03-12 10:41:04 +00:00
|
|
|
#ifndef _U_BOOT_I386_H_
|
|
|
|
#define _U_BOOT_I386_H_ 1
|
2002-11-18 00:14:45 +00:00
|
|
|
|
|
|
|
/* cpu/.../cpu.c */
|
2011-02-12 04:11:35 +00:00
|
|
|
int x86_cpu_init_r(void);
|
2009-11-24 09:04:21 +00:00
|
|
|
int cpu_init_r(void);
|
2011-02-12 04:11:35 +00:00
|
|
|
int x86_cpu_init_f(void);
|
2009-11-24 09:04:21 +00:00
|
|
|
int cpu_init_f(void);
|
2009-02-24 10:14:45 +00:00
|
|
|
|
|
|
|
/* cpu/.../timer.c */
|
|
|
|
void timer_isr(void *);
|
|
|
|
typedef void (timer_fnc_t) (void);
|
|
|
|
int register_timer_isr (timer_fnc_t *isr_func);
|
|
|
|
|
2011-04-13 09:43:28 +00:00
|
|
|
/* Architecture specific - can be in arch/x86/cpu/, arch/x86/lib/, or $(BOARD)/ */
|
2011-02-12 04:11:59 +00:00
|
|
|
int dram_init_f(void);
|
2002-11-18 00:14:45 +00:00
|
|
|
|
2009-02-24 10:13:40 +00:00
|
|
|
/* cpu/.../interrupts.c */
|
|
|
|
int cpu_init_interrupts(void);
|
|
|
|
|
2002-11-18 00:14:45 +00:00
|
|
|
/* board/.../... */
|
2003-05-31 18:35:21 +00:00
|
|
|
int dram_init(void);
|
|
|
|
|
2010-04-23 14:05:48 +00:00
|
|
|
void setup_pcat_compatibility(void);
|
|
|
|
|
2003-05-31 18:35:21 +00:00
|
|
|
void isa_unmap_rom(u32 addr);
|
|
|
|
u32 isa_map_rom(u32 bus_addr, int size);
|
|
|
|
|
2011-04-13 09:43:28 +00:00
|
|
|
/* arch/x86/lib/... */
|
2003-05-31 18:35:21 +00:00
|
|
|
int video_bios_init(void);
|
|
|
|
int video_init(void);
|
2002-11-18 00:14:45 +00:00
|
|
|
|
|
|
|
|
2003-03-12 10:41:04 +00:00
|
|
|
#endif /* _U_BOOT_I386_H_ */
|