Commit Graph

1337 Commits

Author SHA1 Message Date
Markus Fröschle
c5689ff29d first signs of life from the PCI/USB 2013-12-10 20:37:16 +00:00
Markus Fröschle
5604a8314d cover PCI and Compact Flash memory regions in ACR0 and ACR1 2013-12-09 12:12:54 +00:00
Markus Fröschle
33c8ce2857 put alignment requirements for chip_errata_135 in function attributes 2013-12-09 07:24:53 +00:00
Markus Fröschle
9afb5815ac rearranged memory init. 2013-12-09 07:11:19 +00:00
Markus Fröschle
4799ded8ae replaced with C counterpart 2013-12-08 08:12:15 +00:00
Markus Fröschle
96036d004b temporarily disabled debug output 2013-12-08 07:51:19 +00:00
Markus Fröschle
f51190f797 moved uninitialized variables to .bss (was .data) 2013-12-08 07:50:28 +00:00
Markus Fröschle
eb1c918238 fixed .bss and .data copy; moved dma_init() back here 2013-12-08 07:49:06 +00:00
Markus Fröschle
dca118a26c fixed .data and .bss copy 2013-12-08 07:48:14 +00:00
Markus Fröschle
82b1647221 fix alignment of .bas segment to ensure failsafe copy 2013-12-08 07:02:18 +00:00
Markus Fröschle
296f0c892f removed exceptions.c (deleted) 2013-12-07 21:47:54 +00:00
Markus Fröschle
fd53615db9 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
a2ec6a85e4 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
892557d555 added printout of exception PC 2013-12-07 19:45:57 +00:00
Markus Fröschle
c45cf3a926 added copy of EmuTOS for m5484lite 2013-12-07 19:45:09 +00:00
Markus Fröschle
138d3aee9d modified memory map to enable load of patched EmuTOS 2013-12-07 08:39:47 +00:00
Markus Fröschle
73136e97a1 corrected m5484lite SDRAM initialization 2013-12-07 07:08:30 +00:00
Markus Fröschle
d34cc11b00 optimize for space instead of speed (for now) 2013-12-07 07:07:35 +00:00
Markus Fröschle
69c630e615 corrected indents 2013-12-07 07:06:35 +00:00
Markus Fröschle
9d6b6e76b8 renamed to properly identify m5484lite and firebee scripts 2013-12-07 07:05:36 +00:00
Markus Fröschle
de811aa998 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
69a1c0d545 modified to suppress debug prints if not needed 2013-12-07 06:57:50 +00:00
Markus Fröschle
cb4a9329cb modified to correctly initialize m5484lite SDRAM 2013-12-07 06:52:37 +00:00
Markus Fröschle
5b8db6dcc9 fixed comments 2013-11-23 06:13:30 +00:00
Markus Fröschle
3e81e603fa hide debug output in ifdefs 2013-11-22 12:57:05 +00:00
Markus Fröschle
98021b544e added debug_printf() to enable suppresion of output with preprocessor statements 2013-11-22 10:07:38 +00:00
Markus Fröschle
20fc1a5226 implemented std_exception_handler() in C 2013-11-22 10:05:53 +00:00
Markus Fröschle
1c8395b96f added debug_printf() to be able to suppress unneded debug printouts 2013-11-22 10:04:14 +00:00
Markus Fröschle
51aedbaaa4 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
13d6d757ee formatted 2013-11-21 20:02:35 +00:00
Markus Fröschle
1f607751ea modified register constraints 2013-11-21 20:02:03 +00:00
Markus Fröschle
32caba3755 removed __interrupt__ attribute from mmutr_miss() 2013-11-21 19:59:26 +00:00
Markus Fröschle
95e34f4903 added wait() for FireBee USB again 2013-11-21 19:57:39 +00:00
Markus Fröschle
622b298728 modified set_ipl() register constraints (code was overwriting input operand) 2013-11-21 19:45:09 +00:00
Markus Fröschle
7d7843f0b9 new exceptions.c also brings set_ipl() instead of asm_set_ipl() 2013-11-20 06:55:46 +00:00
Markus Fröschle
814a787c5d new inline asm version of set_ipl() (was asm_set_ipl()) 2013-11-20 06:54:48 +00:00
Markus Fröschle
5485e06e12 start of rewrite of exceptions.S in C 2013-11-20 05:52:32 +00:00
Markus Fröschle
65ee08b4a3 changed debug printout 2013-11-19 18:18:12 +00:00
Markus Fröschle
4a601f3987 changed printout formatting 2013-11-19 17:23:53 +00:00
Markus Fröschle
a3e050155f added register save and restore 2013-11-19 17:20:58 +00:00
Markus Fröschle
399f2cf928 missed TLB was added cachable writethrough instead of chacheable copyback 2013-11-19 17:20:18 +00:00
Markus Fröschle
c6a92d3d58 stack was misaligned 2013-11-19 14:59:20 +00:00
Markus Fröschle
3da81e5c7a added gnu header 2013-11-19 14:41:05 +00:00
Markus Fröschle
e65570353c fixed prototype 2013-11-19 14:31:37 +00:00
Markus Fröschle
eb1cbc64be replaced mmu.S with mmu.c 2013-11-19 11:39:22 +00:00
Markus Fröschle
cb1278acc9 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
799893c2eb 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
Markus Fröschle
edd6bc80d5 fixed comments 2013-11-15 07:55:23 +00:00
Markus Fröschle
07adf3c209 added chip_errata() to word and byte config space writes 2013-11-14 22:57:49 +00:00
Markus Fröschle
6c592ee3d6 fixex wrong parentheses in pci_write_config_longword() 2013-11-13 21:08:52 +00:00