i386: Final Relocation

Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
This commit is contained in:
Graeme Russ
2009-11-24 20:04:21 +11:00
committed by Wolfgang Denk
parent cabe579480
commit 1c409bc710
11 changed files with 159 additions and 213 deletions

View File

@@ -24,19 +24,9 @@
#ifndef _U_BOOT_I386_H_
#define _U_BOOT_I386_H_ 1
/* for the following variables, see start.S */
extern ulong i386boot_start; /* code start (in flash) */
extern ulong i386boot_end; /* code end (in flash) */
extern ulong i386boot_romdata_start;/* datasegment in flash (also code+rodata end) */
extern ulong i386boot_romdata_dest; /* data location segment in ram */
extern ulong i386boot_romdata_size; /* size of data segment */
extern ulong i386boot_bss_start; /* bss start */
extern ulong i386boot_bss_size; /* bss size */
extern ulong i386boot_stack_end; /* first usable RAM address after bss and stack */
extern ulong i386boot_ram_end; /* end of ram */
/* cpu/.../cpu.c */
int cpu_init(void);
int cpu_init_r(void);
int cpu_init_f(void);
/* cpu/.../timer.c */
void timer_isr(void *);

View File

@@ -28,6 +28,8 @@
#ifndef __CONFIG_H
#define __CONFIG_H
#define CONFIG_RELOC_FIXUP_WORKS
/*
* Stuff still to be dealt with -
*/