Commit Graph

122 Commits

Author SHA1 Message Date
Markus Fröschle
f90cc6a8a4 fixed wrong stack address offset for "magic number" 2014-09-30 19:29:46 +00:00
Markus Fröschle
4acc7f8f30 added mmu_report_pagesize() 2014-09-30 15:42:32 +00:00
Markus Fröschle
285866181f Fixed ACRs for running BaS in flash (hang on MMU enable) 2014-09-29 19:08:38 +00:00
Markus Fröschle
acca9ca2be first (untested) version of the modified MMU handling and API 2014-09-29 12:32:19 +00:00
Markus Fröschle
72a031244f consistantly use bas_types.h instead of standard headers 2014-09-25 06:24:55 +00:00
Markus Fröschle
a04680eaf2 updated comments 2014-09-25 05:54:26 +00:00
Markus Fröschle
7ecd89ce10 added function to flush only a portion of the caches 2014-09-24 16:02:20 +00:00
Markus Fröschle
e44e3cf118 Screen address change now handled entirely in C (handler_gpt0/ 2014-09-19 17:41:00 +00:00
Markus Fröschle
c1641da427 updated comments 2014-09-19 06:02:16 +00:00
Markus Fröschle
6c45423fd9 replace "a7" with "sp" for consistancy 2014-09-19 04:59:21 +00:00
Markus Fröschle
c89127c173 fixed and completed comments 2014-09-18 20:13:54 +00:00
Markus Fröschle
fb4ec62b12 fixed a few MMU quirks 2014-09-17 05:28:16 +00:00
Markus Fröschle
3b729eb1cf check for supervisor protection fault and issue a bus error 2014-09-07 19:29:11 +00:00
Markus Fröschle
4a8dbe4566 rewritten mmu_map_page() and put into production 2014-09-07 19:01:19 +00:00
Markus Fröschle
c4400e1da4 moved more functionality from exceptions.S to interrupts.c. Added debug
printouts to MMU page fault handler
2014-09-07 10:57:58 +00:00
Markus Fröschle
de0bbdbeba disabled USB init for now 2014-09-07 06:53:40 +00:00
Markus Fröschle
c1ed5e93db moved IRQ service handler for PSC3 interrupt to the BaS ISR dispatcher 2014-09-07 06:53:01 +00:00
Markus Fröschle
ea3cdbe304 removed BaS network stuff and introduced a function to initialize BaS' ISR dispatcher 2014-09-07 06:50:23 +00:00
Markus Fröschle
4cca300a46 refactored 2014-09-06 21:29:55 +00:00
Markus Fröschle
d6d5a517dd fixed a bug with LINK instruction not saving address register 2014-09-06 19:27:11 +00:00
Markus Fröschle
702dbc02f7 disabled debug printouts 2014-09-06 18:39:42 +00:00
Markus Fröschle
6c95282d57 disabled (unnecessary?) cache flush 2014-09-06 18:37:13 +00:00
Markus Fröschle
883e89a748 disabled USB initialization for now 2014-09-06 18:35:51 +00:00
Markus Fröschle
94be0dab11 refactored, reformatted, added missing clobber registers to __asm__
statements
2014-09-02 13:51:00 +00:00
Markus Fröschle
f82e06ae9c refactored USB driver code, enabled debug printouts everywhere 2014-09-01 19:22:26 +00:00
Markus Fröschle
02bba94de2 fixed some compiler warnings 2014-09-01 14:23:33 +00:00
Markus Fröschle
9cdf944862 more generalization of the dbg() diagnostic message prints 2014-09-01 07:20:22 +00:00
Markus Fröschle
db95636981 (re)enabled USB bus scan. It takes an eternity to finish, but finally
returns. Hub found, but no mouse yet.
2014-09-01 06:19:45 +00:00
Markus Fröschle
91ee9b6274 added debugging statements for PCI enumeration 2014-09-01 05:37:43 +00:00
Markus Fröschle
fff3894efe fixed dbg() printout macro 2014-08-10 18:22:59 +00:00
Markus Fröschle
b90cfbc999 added additional functions for cache handling 2014-08-10 18:21:49 +00:00
Markus Fröschle
fc318e3bbf modified jtagwait to allow to set reset start address when renamed to .TTP 2014-08-10 14:39:06 +00:00
Markus Fröschle
40687aa78b added missing check for _FPGA_JTAG_VALID 2014-08-09 13:56:28 +00:00
Markus Fröschle
1bbb9ea81f support for JTAGWAIT.PRG (configure FPGA from JTAG port) implemented 2014-08-09 13:07:28 +00:00
Markus Fröschle
510c015b23 simplified PLL initialization 2014-08-08 19:52:07 +00:00
Markus Fröschle
555b5d8df0 simplified pll initialization 2014-08-08 16:13:14 +00:00
David Gálvez
0904f2c3d1 Make PCI memory space uncachable 2014-07-10 16:46:21 +00:00
Markus Fröschle
77add71d12 modified init_fpga() to honour JTAG configuration. Does not work
currently and needs support from the TOS side (program not finished yet)
2014-06-22 16:00:49 +00:00
Markus Fröschle
de7f039464 some minor cosmetic fixes 2014-06-21 06:32:25 +00:00
Markus Fröschle
75ce132284 reverted to last released to make it work again 2014-06-21 06:21:41 +00:00
Markus Fröschle
35fbc19d73 removed (now wrong) comment 2014-06-21 05:50:43 +00:00
Markus Fröschle
41ef7dbf65 completed locked TLB list 2014-06-20 20:24:37 +00:00
Markus Fröschle
180a81aa80 added locked TLB entries 2014-06-20 19:50:49 +00:00
Markus Fröschle
46740deb38 started to revert to previous functionality 2014-06-20 18:35:08 +00:00
Markus Fröschle
f78571f751 moved FPGA config GPIO initialization into init_fpga.c to enable external JTAG FPGA configuration 2014-06-20 12:02:11 +00:00
David Gálvez
96528dca7f make PCI memory non-cacheable 2014-05-25 19:13:45 +00:00
David Gálvez
ccc9073994 add missing parameter initialization 2014-05-25 17:00:19 +00:00
Markus Fröschle
8021380752 modified dbg() in several files 2014-05-11 20:31:57 +00:00
Markus Fröschle
0e50aa7371 reformatted assembler code 2014-05-11 14:08:27 +00:00
Markus Fröschle
e38e4fc976 fixed wrong MMU mapping of emulated Falcon video memory (phys and virt
where the wrong way round)
2014-05-11 06:57:09 +00:00