Commit Graph

240 Commits

Author SHA1 Message Date
Markus Fröschle
d5db802afa fixed emulator "struct emu"-dependent calls 2015-02-18 15:54:14 +00:00
Markus Fröschle
02f8227300 included setjmp()/longjump() into emulator 2015-02-17 16:35:30 +00:00
Markus Fröschle
91a1c53bdc added setjmp()/longjmp() (used by NetBSD x86 emulator)
modified x86pcibios.c to work with NetBSD x86 emulator
2015-02-17 14:43:11 +00:00
Markus Fröschle
2a61ed3b0e replaced Firetos x86 emulator with the optimised NetBSD version 2015-02-16 22:14:44 +00:00
Markus Fröschle
7d51c22767 modified to expose the PCI "native" driver interface (this is different
from the PCIBIOS) to TOS
2015-02-14 08:45:59 +00:00
Markus Fröschle
56a0731ed1 refactored struct naming 2015-01-16 07:35:35 +00:00
Markus Fröschle
f6d4bfeea2 added skeleton for planned i2c API 2015-01-12 14:00:20 +00:00
Markus Fröschle
de2d671a15 fixed missing unmask of DMA task interrupts 2015-01-12 10:49:01 +00:00
Markus Fröschle
7c1844d73c activated more Coldfire interrupt sources 2015-01-11 17:02:40 +00:00
Markus Fröschle
fe65b2ca00 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
504d11dbfd changed return type of interrupt handlers 2015-01-10 17:44:04 +00:00
Markus Fröschle
00b29437d8 did more changes to interrupt code, but still crashes in networking 2015-01-10 17:19:56 +00:00
Markus Fröschle
388ff72886 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
4fee11270d Not tested. Hopefully fixed interrupts. 2015-01-08 16:36:55 +00:00
Markus Fröschle
922be63d2a fixed formatting 2015-01-07 13:54:35 +00:00
Markus Fröschle
b1c7851f34 start merging R_0.8.6.1 (jtag load bug fix) 2014-12-26 09:07:22 +00:00
Markus Fröschle
c81fc7e7e9 fixed comments 2014-12-16 20:33:51 +00:00
Markus Fröschle
798c5b839d improved error handling 2014-11-24 16:12:35 +00:00
Markus Fröschle
0912289fac fixed function prototype for pci_hook_interrupt() 2014-10-09 17:54:33 +00:00
Markus Fröschle
367aec69a7 added function prototype for irq5_handler() 2014-10-09 17:53:09 +00:00
Markus Fröschle
4154149154 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
342c3cd34a working on USB device scan 2014-10-03 09:58:45 +00:00
Markus Fröschle
b3ef74342e called PCI errata for all pci_write_...() functions 2014-10-02 14:21:43 +00:00
Markus Fröschle
a251cd4b44 implemented pci_hook_interrupt()
formatted USB sources
2014-10-01 15:39:16 +00:00
Markus Fröschle
2f4245743e added mmu_report_pagesize() 2014-09-30 15:42:32 +00:00
Markus Fröschle
da04ded10b implemented remove_handler() 2014-09-30 15:41:05 +00:00
Markus Fröschle
2637d39c67 first (untested) version of the modified MMU handling and API 2014-09-29 12:32:19 +00:00
Markus Fröschle
dcf2a44776 added API driver interface for MMU 2014-09-29 06:10:19 +00:00
Markus Fröschle
f91988cbc5 consistantly use bas_types.h instead of standard headers 2014-09-25 06:24:55 +00:00
Markus Fröschle
e0f77b1ab6 added function to flush only a portion of the caches 2014-09-24 16:02:20 +00:00
Markus Fröschle
87bd9eb2c6 rewritten mmu_map_page() and put into production 2014-09-07 19:01:19 +00:00
Markus Fröschle
7ea7b91e9d 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
5a913f83fa moved PSC3 interrupt handler to BaS dispatcher 2014-09-07 06:55:00 +00:00
Markus Fröschle
f3766b9b63 lowered DMA interrupt level 2014-09-06 18:43:03 +00:00
Markus Fröschle
3bd8b12b2f set interrupt and level to same values MiNT driver expects 2014-09-06 18:40:36 +00:00
Markus Fröschle
9f64ff8ce6 reformatted 2014-09-05 05:55:03 +00:00
Markus Fröschle
70cb003abb fixed a few typos 2014-09-02 19:58:19 +00:00
Markus Fröschle
6124f82d82 refactored, reformatted, added missing clobber registers to __asm__
statements
2014-09-02 13:51:00 +00:00
Markus Fröschle
d25e6cfd98 refactored USB driver code, enabled debug printouts everywhere 2014-09-01 19:22:26 +00:00
Markus Fröschle
029388c6c4 fixed some compiler warnings 2014-09-01 14:23:33 +00:00
Markus Fröschle
332928fb78 (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
575ff4adc4 removed unused files. Modifed MCDCOOK build process to use BaS_gcc
includes (no need to sync includes anymore)
2014-08-31 11:36:59 +00:00
Markus Fröschle
630a82de9a bumped version for release 2014-08-06 06:23:30 +00:00
David Gálvez
bf32e899d1 Merge pci_BaS_gcc branch to trunk 2014-07-10 15:45:45 +00:00
Markus Fröschle
96319f252d added ST fonts 2014-06-21 19:48:22 +00:00
Markus Fröschle
9d717fbac7 version bump 2014-06-21 06:33:45 +00:00
Markus Fröschle
453c974c4f 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
86b1f17deb modified dbg() in several files 2014-05-11 20:31:57 +00:00
Markus Fröschle
0b39fef36b added missing include file to SVN 2014-02-02 10:16:16 +00:00
Markus Fröschle
e0b41f09d6 modified to throw errors if an unknown machine type is detected 2014-01-28 15:49:05 +00:00