David Gálvez
a40831e6b7
Delete USB directories and the sorce code from the repository.
...
Here is not the place for this source code, it's not related directly with
the project. They were my firsts experiments with USB, it's very outdated too.
2014-11-28 10:25:52 +00:00
Markus Fröschle
798c5b839d
improved error handling
2014-11-24 16:12:35 +00:00
Markus Fröschle
e579238035
disable DSPICS3 (switch to GPIO) to avoid driving the PIN against FPGA
...
blink attempts.
2014-11-24 16:06:38 +00:00
Markus Fröschle
2c7434e751
modified interrupt structure
2014-10-11 18:43:02 +00:00
Markus Fröschle
5ae4c12795
added interrupt controller initialization for PCI error interrupts
2014-10-09 18:59: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
99ab0fe523
fixed parameters of irq5_handler()
2014-10-09 17:51:58 +00:00
Markus Fröschle
2a9470277d
fixed parameters of pci_hook_interrupt()
2014-10-09 17:50:14 +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
b1c2026746
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
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
1045c9a963
fixed formatting
2014-10-01 06:43:17 +00:00
Markus Fröschle
2d2b88be59
removed debug output
2014-09-30 19:32:26 +00:00
Markus Fröschle
fe944b40d4
fixed wrong stack address offset for "magic number"
2014-09-30 19:29:46 +00:00
Markus Fröschle
0449855146
fixed wrong EmuTOS detection
2014-09-30 17:10:58 +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
0decb9678a
implemented check if running on EmuTOS
2014-09-29 22:43:49 +00:00
Markus Fröschle
f506144bd8
implemented check if running on EmuTOS
2014-09-29 22:42:38 +00:00
Markus Fröschle
628ba49c83
fixed driver_vec retrieval. Sholdn't crash anymore on FireTOS.
2014-09-29 22:26:25 +00:00
Markus Fröschle
0c33198fbc
fixed typo
2014-09-29 21:11:16 +00:00
Markus Fröschle
1366810a77
added cleartext for the MMU interface
2014-09-29 20:52:02 +00:00
Markus Fröschle
12620d8b5e
Fixed ACRs for running BaS in flash (hang on MMU enable)
2014-09-29 19:08:38 +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
69d1e07c28
updated comments
2014-09-25 05:54:26 +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
46d4541c22
now flashes BaS again
2014-09-21 13:30:55 +00:00
Markus Fröschle
44acce1258
Screen address change now handled entirely in C (handler_gpt0/
2014-09-19 17:41:00 +00:00
Markus Fröschle
d5359c4b95
updated comments
2014-09-19 06:02:16 +00:00
Markus Fröschle
f9a8a880d9
replace "a7" with "sp" for consistancy
2014-09-19 04:59:21 +00:00
Markus Fröschle
36a7a593d9
fixed and completed comments
2014-09-18 20:13:54 +00:00
Markus Fröschle
0801adb0c0
fixed a few MMU quirks
2014-09-17 05:28:16 +00:00
Markus Fröschle
e7fa2b5bff
check for supervisor protection fault and issue a bus error
2014-09-07 19:29:11 +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
cd341c499a
removed warnings with some ugly casts...
2014-09-07 17:12:44 +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
c5cb279745
modified to always update build date/time
2014-09-07 07:02:26 +00:00
Markus Fröschle
1a2d7bcc46
minor changes
2014-09-07 06:55:37 +00:00
Markus Fröschle
5a913f83fa
moved PSC3 interrupt handler to BaS dispatcher
2014-09-07 06:55:00 +00:00
Markus Fröschle
49569bc001
disabled USB init for now
2014-09-07 06:53:40 +00:00
Markus Fröschle
37a3beef5a
moved IRQ service handler for PSC3 interrupt to the BaS ISR dispatcher
2014-09-07 06:53:01 +00:00
Markus Fröschle
65187270ca
removed BaS network stuff and introduced a function to initialize BaS' ISR dispatcher
2014-09-07 06:50:23 +00:00
Markus Fröschle
22760eb9b8
refactored
2014-09-06 21:29:55 +00:00
Markus Fröschle
307c5368b4
fixed a bug with LINK instruction not saving address register
2014-09-06 19:27:11 +00:00
Markus Fröschle
3cfcd9e7c3
temporarily disabled interrupts to make debug printouts readable
2014-09-06 18:45:21 +00:00