Markus Fröschle
dce24ff7c7
fixed comments
2014-12-16 20:33:51 +00:00
Markus Fröschle
764e089806
improved error handling
2014-11-24 16:12:35 +00:00
Markus Fröschle
2453a4abfc
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
ca3db41081
modified interrupt structure
2014-10-11 18:43:02 +00:00
Markus Fröschle
44a2234ed2
added interrupt controller initialization for PCI error interrupts
2014-10-09 18:59:35 +00:00
Markus Fröschle
1cbd86f7e9
fixed function prototype for pci_hook_interrupt()
2014-10-09 17:54:33 +00:00
Markus Fröschle
35b111ef91
added function prototype for irq5_handler()
2014-10-09 17:53:09 +00:00
Markus Fröschle
3caa3bca85
fixed parameters of irq5_handler()
2014-10-09 17:51:58 +00:00
Markus Fröschle
b20525ca24
fixed parameters of pci_hook_interrupt()
2014-10-09 17:50:14 +00:00
Markus Fröschle
ab7371532f
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
2ee1ddf58d
working on USB device scan
2014-10-03 09:58:45 +00:00
Markus Fröschle
69941141f7
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
4990704e99
called PCI errata for all pci_write_...() functions
2014-10-02 14:21:43 +00:00
Markus Fröschle
16b2e35a2b
implemented pci_hook_interrupt()
...
formatted USB sources
2014-10-01 15:39:16 +00:00
Markus Fröschle
c3cccfbae1
fixed formatting
2014-10-01 06:43:17 +00:00
Markus Fröschle
b3d152b705
removed debug output
2014-09-30 19:32:26 +00:00
Markus Fröschle
b857519ea5
fixed wrong stack address offset for "magic number"
2014-09-30 19:29:46 +00:00
Markus Fröschle
66dff57624
fixed wrong EmuTOS detection
2014-09-30 17:10:58 +00:00
Markus Fröschle
ab31128d42
added mmu_report_pagesize()
2014-09-30 15:42:32 +00:00
Markus Fröschle
b94f129d70
implemented remove_handler()
2014-09-30 15:41:05 +00:00
Markus Fröschle
a28a443547
implemented check if running on EmuTOS
2014-09-29 22:43:49 +00:00
Markus Fröschle
2da664e571
implemented check if running on EmuTOS
2014-09-29 22:42:38 +00:00
Markus Fröschle
465cb67109
fixed driver_vec retrieval. Sholdn't crash anymore on FireTOS.
2014-09-29 22:26:25 +00:00
Markus Fröschle
76d2a1c9b7
fixed typo
2014-09-29 21:11:16 +00:00
Markus Fröschle
a0763b000a
added cleartext for the MMU interface
2014-09-29 20:52:02 +00:00
Markus Fröschle
317d2a3a65
Fixed ACRs for running BaS in flash (hang on MMU enable)
2014-09-29 19:08:38 +00:00
Markus Fröschle
8e2fe53fab
first (untested) version of the modified MMU handling and API
2014-09-29 12:32:19 +00:00
Markus Fröschle
37dfe6b7c5
added API driver interface for MMU
2014-09-29 06:10:19 +00:00
Markus Fröschle
c0d21a104f
consistantly use bas_types.h instead of standard headers
2014-09-25 06:24:55 +00:00
Markus Fröschle
4fc208c67d
updated comments
2014-09-25 05:54:26 +00:00
Markus Fröschle
8949a8456e
added function to flush only a portion of the caches
2014-09-24 16:02:20 +00:00
Markus Fröschle
37037b1e4c
now flashes BaS again
2014-09-21 13:30:55 +00:00
Markus Fröschle
e0f6d035a9
Screen address change now handled entirely in C (handler_gpt0/
2014-09-19 17:41:00 +00:00
Markus Fröschle
8bdb21c73f
updated comments
2014-09-19 06:02:16 +00:00
Markus Fröschle
b8df5c654f
replace "a7" with "sp" for consistancy
2014-09-19 04:59:21 +00:00
Markus Fröschle
77f641a959
fixed and completed comments
2014-09-18 20:13:54 +00:00
Markus Fröschle
02ab73f2cc
fixed a few MMU quirks
2014-09-17 05:28:16 +00:00
Markus Fröschle
01141f4251
check for supervisor protection fault and issue a bus error
2014-09-07 19:29:11 +00:00
Markus Fröschle
85798de684
rewritten mmu_map_page() and put into production
2014-09-07 19:01:19 +00:00
Markus Fröschle
fd8992cec5
removed warnings with some ugly casts...
2014-09-07 17:12:44 +00:00
Markus Fröschle
baa68901b8
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
4c154978c9
modified to always update build date/time
2014-09-07 07:02:26 +00:00
Markus Fröschle
4b9a5bdbcd
minor changes
2014-09-07 06:55:37 +00:00
Markus Fröschle
9aac73896f
moved PSC3 interrupt handler to BaS dispatcher
2014-09-07 06:55:00 +00:00
Markus Fröschle
ebd8bd8e47
disabled USB init for now
2014-09-07 06:53:40 +00:00
Markus Fröschle
d147ef2625
moved IRQ service handler for PSC3 interrupt to the BaS ISR dispatcher
2014-09-07 06:53:01 +00:00
Markus Fröschle
1791a1bfaa
removed BaS network stuff and introduced a function to initialize BaS' ISR dispatcher
2014-09-07 06:50:23 +00:00
Markus Fröschle
0ced2c74f9
refactored
2014-09-06 21:29:55 +00:00
Markus Fröschle
d29c41022f
fixed a bug with LINK instruction not saving address register
2014-09-06 19:27:11 +00:00
Markus Fröschle
e6d81d461a
temporarily disabled interrupts to make debug printouts readable
2014-09-06 18:45:21 +00:00