less undefined symbol references

This commit is contained in:
Markus Fröschle
2012-10-13 21:22:40 +00:00
parent e50cc71df2
commit b765b4d48d
5 changed files with 11 additions and 11 deletions

View File

@@ -7,12 +7,12 @@ code 0xe0000000 0x00200000 xr
Linker script and memory map
0x1fe00000 __Bas_base = 0x1fe00000
0x1fe00000 _Bas_base = 0x1fe00000
0xe0000000 ___BOOT_FLASH = 0xe0000000
0x00800000 ___BOOT_FLASH_SIZE = 0x800000
0x00000000 ___SDRAM = 0x0
0x20000000 ___SDRAM_SIZE = 0x20000000
0x60000000 ___VRAM = 0x60000000
0x60000000 __VRAM = 0x60000000
0xff000000 ___MBAR = 0xff000000
0xff040000 ___MMUBAR = 0xff040000
0xff100000 ___RAMBAR0 = 0xff100000
@@ -141,16 +141,16 @@ Symbol File
BaS objs/sysinit.o
MCF_MMU_MMUCR objs/startcf.o
_BaS objs/BaS.o
_Bas_base objs/exceptions.o
objs/sysinit.o
_MCF_PCICR1_CACHELINESIZE objs/sysinit.o
_MCF_PCICR2_MINGNT objs/sysinit.o
__Bas_base objs/sysinit.o
__MBAR objs/exceptions.o
__MMUBAR objs/exceptions.o
__VRAM objs/sysinit.o
___BOOT_FLASH objs/exceptions.o
objs/startcf.o
___Bas_base objs/exceptions.o
objs/BaS.o
___Bas_base objs/BaS.o
___MBAR objs/exceptions.o
objs/sd_card.o
objs/BaS.o

View File

@@ -3,7 +3,7 @@ MEMORY {
}
SECTIONS {
__Bas_base = 0x1FE00000;
_Bas_base = 0x1FE00000;
/* Board Memory map definitions from linker command files:
* __SDRAM,__SDRAM_SIZE, __CODE_FLASH, __CODE_FLASH_SIZE
@@ -18,7 +18,7 @@ SECTIONS {
___SDRAM_SIZE = ABSOLUTE(0x20000000);
/* VIDEO RAM BASIS */
___VRAM = ABSOLUTE(0x60000000);
__VRAM = ABSOLUTE(0x60000000);
/*
* MCF5475 Derivative Memory map definitions from linker command files:

View File

@@ -25,7 +25,7 @@ SECTIONS {
___SDRAM_SIZE = 0x20000000;
#VIDEO RAM BASIS
___VRAM = 0x60000000;
__VRAM = 0x60000000;
# MCF5475 Derivative Memory map definitions from linker command files:
# __MBAR, __MMUBAR, __RAMBAR0, __RAMBAR0_SIZE, __RAMBAR1, __RAMBAR1_SIZE

View File

@@ -386,7 +386,7 @@ access_mmu:
btst #1,d0
bne bus_error
move.l MCF_MMU_MMUAR,d0
cmp.l #___Bas_base,d0 // max User RAM Bereich
cmp.l #_Bas_base,d0 // max User RAM Bereich
bge bus_error // gr<EFBFBD>sser -> bus error
bra _mmutr_miss
bus_error:

View File

@@ -14,7 +14,7 @@
static const uint8_t *FPGA_FLASH_DATA = (uint8_t *) 0xe0700000L;
static const uint8_t *FPGA_FLASH_DATA_END = (uint8_t *) 0xe0800000L;
extern unsigned long __VRAM;
extern unsigned long _VRAM;
extern unsigned long _Bas_base;
extern unsigned long BaS;
extern unsigned long _BOOT_FLASH[];
@@ -798,7 +798,7 @@ asm(
"lea copy_start,A0\n\t"
"lea BaS,A1\n\t"
"sub.l A0,A1\n\t"
"move.l #__Bas_base,A2\n\t"
"move.l #_Bas_base,A2\n\t"
"move.l A2,A3\n\t"
"add.l A1,A3\n\t"
"lea copy_end,A4\n\t"