Commit Graph

847 Commits

Author SHA1 Message Date
Markus Fröschle
524c94d465 fixed comments 2013-12-10 21:29:56 +00:00
Markus Fröschle
95dc6f0714 enabled USB hub debug 2013-12-10 20:53:26 +00:00
Markus Fröschle
5f41f6e33f modified location of Compact Flash CPLD CS 2013-12-10 20:38:55 +00:00
Markus Fröschle
7229b94ba3 first signs of life from the PCI/USB 2013-12-10 20:37:16 +00:00
Markus Fröschle
e50cb30711 cover PCI and Compact Flash memory regions in ACR0 and ACR1 2013-12-09 12:12:54 +00:00
Markus Fröschle
813460e5d0 put alignment requirements for chip_errata_135 in function attributes 2013-12-09 07:24:53 +00:00
Markus Fröschle
c6cebc5e97 rearranged memory init. 2013-12-09 07:11:19 +00:00
Markus Fröschle
b6ff1f0338 replaced with C counterpart 2013-12-08 08:12:15 +00:00
Markus Fröschle
2823a69409 temporarily disabled debug output 2013-12-08 07:51:19 +00:00
Markus Fröschle
4175b8ec8f moved uninitialized variables to .bss (was .data) 2013-12-08 07:50:28 +00:00
Markus Fröschle
586993afaa fixed .bss and .data copy; moved dma_init() back here 2013-12-08 07:49:06 +00:00
Markus Fröschle
5b42e432cc fixed .data and .bss copy 2013-12-08 07:48:14 +00:00
Markus Fröschle
f715cd0792 fix alignment of .bas segment to ensure failsafe copy 2013-12-08 07:02:18 +00:00
Markus Fröschle
6ba2fb3cb3 removed exceptions.c (deleted) 2013-12-07 21:47:54 +00:00
Markus Fröschle
8c39320c54 fixed to run from flash and ram identically. Also fixed to run EmuTOS with BaS on the m5484lite 2013-12-07 21:16:36 +00:00
Markus Fröschle
b61ed9608c since BaS copy copies only .data and .bss, this must happen earlier than before - changed 2013-12-07 21:15:20 +00:00
Markus Fröschle
1f637d3758 added printout of exception PC 2013-12-07 19:45:57 +00:00
Markus Fröschle
ca7e700ec4 added copy of EmuTOS for m5484lite 2013-12-07 19:45:09 +00:00
Markus Fröschle
89b5ac1769 modified memory map to enable load of patched EmuTOS 2013-12-07 08:39:47 +00:00
Markus Fröschle
c149528436 corrected m5484lite SDRAM initialization 2013-12-07 07:08:30 +00:00
Markus Fröschle
5fde4637ca optimize for space instead of speed (for now) 2013-12-07 07:07:35 +00:00
Markus Fröschle
46fbcd7391 corrected indents 2013-12-07 07:06:35 +00:00
Markus Fröschle
337321b0bd renamed to properly identify m5484lite and firebee scripts 2013-12-07 07:05:36 +00:00
Markus Fröschle
202217dcbe discarded - writing exception handlers in C turned out going not as well as assumed 2013-12-07 07:00:28 +00:00
Markus Fröschle
001376c0c3 modified to suppress debug prints if not needed 2013-12-07 06:57:50 +00:00
Markus Fröschle
ff2661ead2 modified to correctly initialize m5484lite SDRAM 2013-12-07 06:52:37 +00:00
Markus Fröschle
ef96759184 fixed comments 2013-11-23 06:13:30 +00:00
Markus Fröschle
01bcf8f466 hide debug output in ifdefs 2013-11-22 12:57:05 +00:00
Markus Fröschle
433c1f8d5e added debug_printf() to enable suppresion of output with preprocessor statements 2013-11-22 10:07:38 +00:00
Markus Fröschle
e31c2f172b implemented std_exception_handler() in C 2013-11-22 10:05:53 +00:00
Markus Fröschle
e2d4324d20 added debug_printf() to be able to suppress unneded debug printouts 2013-11-22 10:04:14 +00:00
Markus Fröschle
045d76f917 gcc inline assembly tends to use output registers as input if not explicitely told to avoid is: "=&" as constraint to the output register avoids that. 2013-11-22 10:03:10 +00:00
Markus Fröschle
0529a69032 formatted 2013-11-21 20:02:35 +00:00
Markus Fröschle
37008b682a modified register constraints 2013-11-21 20:02:03 +00:00
Markus Fröschle
67ed9b04c5 removed __interrupt__ attribute from mmutr_miss() 2013-11-21 19:59:26 +00:00
Markus Fröschle
6c8fe0760e added wait() for FireBee USB again 2013-11-21 19:57:39 +00:00
Markus Fröschle
768a9ac216 modified set_ipl() register constraints (code was overwriting input operand) 2013-11-21 19:45:09 +00:00
Markus Fröschle
dd340c71a6 new exceptions.c also brings set_ipl() instead of asm_set_ipl() 2013-11-20 06:55:46 +00:00
Markus Fröschle
a18b1d1d9a new inline asm version of set_ipl() (was asm_set_ipl()) 2013-11-20 06:54:48 +00:00
Markus Fröschle
e46346425a start of rewrite of exceptions.S in C 2013-11-20 05:52:32 +00:00
Markus Fröschle
279c994711 changed debug printout 2013-11-19 18:18:12 +00:00
Markus Fröschle
e22e0fe9ba changed printout formatting 2013-11-19 17:23:53 +00:00
Markus Fröschle
94fb84aaa0 added register save and restore 2013-11-19 17:20:58 +00:00
Markus Fröschle
9d36718049 missed TLB was added cachable writethrough instead of chacheable copyback 2013-11-19 17:20:18 +00:00
Markus Fröschle
a97d38e9f9 stack was misaligned 2013-11-19 14:59:20 +00:00
Markus Fröschle
1c1362f33a added gnu header 2013-11-19 14:41:05 +00:00
Markus Fröschle
ba436846d4 fixed prototype 2013-11-19 14:31:37 +00:00
Markus Fröschle
8f12188261 replaced mmu.S with mmu.c 2013-11-19 11:39:22 +00:00
Markus Fröschle
08756da558 as mmu.c has been rewritten (from mmu.S) in C, we need an additional include file 2013-11-19 11:38:29 +00:00
Markus Fröschle
057f8e6dde rewritten completely (including MMU TLB exception handler) in C.
Besides the save of fp registers, the gcc generated code is at least as efficient than the asm.
2013-11-19 11:36:43 +00:00