URL
https://opencores.org/ocsvn/ao486/ao486/trunk
Subversion Repositories ao486
Compare Revisions
- This comparison shows the changes necessary to convert path
/ao486/trunk/syn/soc/firmware/exe_bsp/HAL/src
- from Rev 2 to Rev 7
- ↔ Reverse comparison
Rev 2 → Rev 7
/crt0.S
457,6 → 457,13
#endif /* ALT_SIM_OPTIMIZE */ |
|
/* |
* Turn off the use of r1 (the assembler temporary register) |
* so that call instructions can be safely relaxed across a |
* 256MB boundary if needed |
*/ |
.set at |
|
/* |
* The alt_load() facility is normally used when there is no bootloader. |
* It copies some sections into RAM so it acts like a mini-bootloader. |
*/ |
/alt_load.c
37,15 → 37,15
* Linker defined symbols. |
*/ |
|
extern void __flash_rwdata_start; |
extern void __ram_rwdata_start; |
extern void __ram_rwdata_end; |
extern void __flash_rodata_start; |
extern void __ram_rodata_start; |
extern void __ram_rodata_end; |
extern void __flash_exceptions_start; |
extern void __ram_exceptions_start; |
extern void __ram_exceptions_end; |
extern alt_u32 __flash_rwdata_start; |
extern alt_u32 __ram_rwdata_start; |
extern alt_u32 __ram_rwdata_end; |
extern alt_u32 __flash_rodata_start; |
extern alt_u32 __ram_rodata_start; |
extern alt_u32 __ram_rodata_end; |
extern alt_u32 __flash_exceptions_start; |
extern alt_u32 __ram_exceptions_start; |
extern alt_u32 __ram_exceptions_end; |
|
/* |
* alt_load() is called when the code is executing from flash. In this case |
60,8 → 60,8
*/ |
|
alt_load_section (&__flash_rwdata_start, |
&__ram_rwdata_start, |
&__ram_rwdata_end); |
&__ram_rwdata_start, |
&__ram_rwdata_end); |
|
/* |
* Copy the exception handler. |