Commit Graph

1061 Commits

Author SHA1 Message Date
Markus Fröschle
be5d9b77cd fixed parameters of pci_hook_interrupt() 2014-10-09 17:50:14 +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
19be22b106 working on USB device scan 2014-10-03 09:58:45 +00:00
Markus Fröschle
f5556e023e tried to fix PCI - sometimes all three USB controllers are detected, sometimes not, sometimes there is even a PCI bus hang 2014-10-03 07:29:42 +00:00
Markus Fröschle
c344b32bb5 called PCI errata for all pci_write_...() functions 2014-10-02 14:21:43 +00:00
Markus Fröschle
46cdc6869a implemented pci_hook_interrupt()
formatted USB sources
2014-10-01 15:39:16 +00:00
Markus Fröschle
2f31b00db1 fixed formatting 2014-10-01 06:43:17 +00:00
Markus Fröschle
e083252137 removed debug output 2014-09-30 19:32:26 +00:00
Markus Fröschle
f90cc6a8a4 fixed wrong stack address offset for "magic number" 2014-09-30 19:29:46 +00:00
Markus Fröschle
2661e9d831 fixed wrong EmuTOS detection 2014-09-30 17:10:58 +00:00
Markus Fröschle
4acc7f8f30 added mmu_report_pagesize() 2014-09-30 15:42:32 +00:00
Markus Fröschle
b18c47c26c implemented remove_handler() 2014-09-30 15:41:05 +00:00
Markus Fröschle
7a9af2f7ee implemented check if running on EmuTOS 2014-09-29 22:43:49 +00:00
Markus Fröschle
bd658f3e48 implemented check if running on EmuTOS 2014-09-29 22:42:38 +00:00
Markus Fröschle
d09a54ab41 fixed driver_vec retrieval. Sholdn't crash anymore on FireTOS. 2014-09-29 22:26:25 +00:00
Markus Fröschle
e89aff0bb7 fixed typo 2014-09-29 21:11:16 +00:00
Markus Fröschle
4e1cd43175 added cleartext for the MMU interface 2014-09-29 20:52:02 +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
b28872f0e9 added API driver interface for MMU 2014-09-29 06:10: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
d913708130 now flashes BaS again 2014-09-21 13:30:55 +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
8c8b14657e removed warnings with some ugly casts... 2014-09-07 17:12:44 +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
d74574b380 modified to always update build date/time 2014-09-07 07:02:26 +00:00
Markus Fröschle
f4fa6ea830 minor changes 2014-09-07 06:55:37 +00:00
Markus Fröschle
996e51263f moved PSC3 interrupt handler to BaS dispatcher 2014-09-07 06:55:00 +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
199d2f69e4 temporarily disabled interrupts to make debug printouts readable 2014-09-06 18:45:21 +00:00
Markus Fröschle
414b4ebb2b lowered DMA interrupt level 2014-09-06 18:43:03 +00:00
Markus Fröschle
0beaacc4d8 set interrupt and level to same values MiNT driver expects 2014-09-06 18:40:36 +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
b53606ea9e reformatted 2014-09-06 18:35:06 +00:00
Markus Fröschle
3cd09ae689 disabled USB debug printouts 2014-09-06 18:34:35 +00:00
Markus Fröschle
7264266110 disabled USB debug printouts 2014-09-06 18:33:46 +00:00