Commit Graph

61 Commits

Author SHA1 Message Date
Markus Fröschle
4d7ae5edbe Networking finally works stable, although not really clean. Something causes spurious interrupts and a handler for this fixed it for now. 2015-01-18 19:47:31 +00:00
Markus Fröschle
4c26fea854 modified for m548x irq5 2015-01-17 21:47:12 +00:00
Markus Fröschle
dd83bee852 activated more Coldfire interrupt sources 2015-01-11 17:02:40 +00:00
Markus Fröschle
0c101bc6a0 replaced DMA API routines by fresh download with originals
moved more interrupt handlers to generalized handler
cleaned up lowlevel interrupt handling
fixed wrong assignment of interrupt masks
reformatted
2015-01-11 10:27:36 +00:00
Markus Fröschle
81c56f65e3 did more changes to interrupt code, but still crashes in networking 2015-01-10 17:19:56 +00:00
Markus Fröschle
8189593d39 This version is working again, except network. For some reason, the DMA
interrupts don't seem to be triggered.
2015-01-09 20:12:03 +00:00
Markus Fröschle
da2fba9623 (re) implemented irq1-4 + irq7 2015-01-09 16:01:58 +00:00
Markus Fröschle
7a01af48c7 (re)implemented irq1-irq4+irq7 handlers 2015-01-09 15:57:42 +00:00
Markus Fröschle
593f18bd45 fixed wrong offset on MFP interrupt 2015-01-09 15:08:44 +00:00
Markus Fröschle
9fb030e496 Not tested. Hopefully fixed interrupts. 2015-01-08 16:36:55 +00:00
Markus Fröschle
226286804f fixed formatting 2015-01-07 13:54:35 +00:00
Markus Fröschle
914af8145f reformatted 2014-12-30 22:25:36 +00:00
Markus Fröschle
cc3d52aee7 more FPGA tests 2014-12-26 20:01:03 +00:00
Markus Fröschle
4d409f4242 merged fixes from 0.8.6.1 (errornous skip of FPGA load) 2014-12-26 09:36:45 +00:00
Markus Fröschle
822c1008ca modified interrupt structure 2014-10-11 18:43:02 +00:00
Markus Fröschle
0f61317726 added interrupt controller initialization for PCI error interrupts 2014-10-09 18:59:35 +00:00
Markus Fröschle
c3c3840d15 implemented hook_interrupt() in PCI code
enabled PCI interrupts
ohci seems to damage something in PCI config -> PCI device enumeration 
does not top with latest device
networking in EmuTOS lost (probably a result of PCI interrupt
implementation)
2014-10-05 17:50:15 +00:00
Markus Fröschle
46cdc6869a implemented pci_hook_interrupt()
formatted USB sources
2014-10-01 15:39:16 +00:00
Markus Fröschle
4acc7f8f30 added mmu_report_pagesize() 2014-09-30 15:42:32 +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
a04680eaf2 updated comments 2014-09-25 05:54:26 +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
c1ed5e93db moved IRQ service handler for PSC3 interrupt to the BaS ISR dispatcher 2014-09-07 06:53:01 +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
9cdf944862 more generalization of the dbg() diagnostic message prints 2014-09-01 07:20:22 +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
f78571f751 moved FPGA config GPIO initialization into init_fpga.c to enable external JTAG FPGA configuration 2014-06-20 12:02:11 +00:00
Markus Fröschle
0e50aa7371 reformatted assembler code 2014-05-11 14:08:27 +00:00
Markus Fröschle
b6526e8893 modified project to support Qt Creator inferior debugging through BDM. 2014-05-11 06:40:48 +00:00
Markus Fröschle
0ff272562e modified dbg() macro
corrected irq6 handler
reimplemented MFP interrupt LED blinker in C
2014-05-10 13:21:11 +00:00
Markus Fröschle
8ff4c4a760 more conversion to C 2014-02-02 22:27:10 +00:00
Markus Fröschle
090a171bbd translated more of the assembler code into C 2014-02-02 21:35:46 +00:00
Markus Fröschle
7d5e9c71ff optimized for size - reduces codesize by half 2014-02-01 23:54:32 +00:00
Markus Fröschle
077c31b085 moved PSC3 interrupt handler to C code 2014-02-01 23:37:30 +00:00
Markus Fröschle
dfbc843a2d removed inlining in wait.c, added (simple) map-based MMU handling 2014-01-18 14:03:25 +00:00
Markus Fröschle
7f29e5cfa9 fixed comments 2014-01-13 22:05:20 +00:00
Markus Fröschle
e511c7fd3a corrected FASTRAM_END comparision 2014-01-13 21:20:24 +00:00
Markus Fröschle
a5b13a566a refactored assembler routines from exceptions.S into mmu.c (access exception handler). Seems to be better, but still hang. 2014-01-13 19:39:42 +00:00
Markus Fröschle
7bd6413e5c implemented safe stack for access exception handler 2014-01-13 15:13:29 +00:00
Markus Fröschle
f48d196be7 switch to a safe stack in access_exception.
Assembles, but not tested yet.
2014-01-13 07:19:09 +00:00
Markus Fröschle
30ceaacc0f networking works (sort of). For some reason, the Firebee packets don't cross my switch (or only very few of them do). If I put a Linux box in between (cross cable), using it as router, everything works flawlessly. 2014-01-06 18:44:36 +00:00
Markus Fröschle
8cc70a6c6d cleaned up. X86emu does not work with debug trace on currently. 2014-01-03 21:03:35 +00:00
Markus Fröschle
b4e819db9a implemented PHY, but still only occasionly transmitted packets. Obviously, there's a bug somewhere ;) 2014-01-02 21:33:27 +00:00