Commit Graph
249 Commits
Author SHA1 Message Date
Markus Fröschle d852fdf183 fix failed alignment of pci_errata_xxx() functions which caused the code
to hang when compiled with m68k-atari-mint-gcc
2016-04-04 09:31:25 +00:00
David Gálvez 039da05264 Move functions declaration to header file 2016-02-07 18:35:04 +00:00
Markus Fröschle 52301045d8 avoid FireTOS hang on boot 2016-01-30 16:00:02 +00:00
Markus Fröschle 24c7249156 new revision of BaS native PCI driver that supports find_pci_device() and find_pci_classcode() functions from TOS 2015-11-20 21:25:07 +00:00
Markus Fröschle 424a276dee add PCI driver interface enumeration routine 2015-11-20 19:25:57 +00:00
Markus Fröschle ba0f01d09c reformat 2015-11-16 15:20:43 +00:00
Markus Fröschle be7857a7c6 fixed wrong function prototype 2015-04-07 10:23:46 +00:00
Markus Fröschle b1d1dd5cdd repaired jtagwait magic type conflict
added "native PCI" driver interface
2015-04-03 14:28:41 +00:00
Markus Fröschle c036d08f6a modified PCI configuration, RADEON card does not configure correctly
(MMIO space not accessible)
2015-02-22 19:46:16 +00:00
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