Commit Graph

14 Commits

Author SHA1 Message Date
0ef7b9e353 Spurious interrupts support 2019-01-07 16:22:46 +01:00
92e1e261e7 Proper interrupt handlers
Proper interrupt handlers for timers (and new peripherals can use them
too).
Improved interrupt enabling.
Improved timer interrupts and fixed minor bugs.
2019-01-07 15:57:16 +01:00
06f000e19a Interrupts and Timers 2019-01-06 17:33:02 +01:00
52c288a056 Improved SWI service routine to handle C functions 2018-12-31 17:28:04 +01:00
c4342f1b89 Minor code improvements 2018-12-31 14:16:58 +01:00
a38f8f359b Exception Vector remapped in startup code 2018-12-31 14:02:23 +01:00
d3152ca2ad Auto-alignment of vector table
And discovered fundamental difference between .align and .balign on ARM
ftp://ftp.gnu.org/old-gnu/Manuals/gas/html_chapter/as_7.html
2018-12-31 12:32:26 +01:00
660771a06b Makefile strip + toolchain
Kernel binary optionally stripped for final distribution (and upload via
slow serial cable)
Custom cross-toolchain variables
2018-12-30 23:51:20 +01:00
c4bfb74eef Tested some exceptions; Added a simple panic function
Working exception handlers at the moment:
- und
- swi
- data_abt
Others not tested (yet)
2018-12-30 23:45:46 +01:00
b18437ba51 Added other (untested) interrupts 2018-12-30 23:07:00 +01:00
b431e382e8 Interrupt Vector Table, first tests
Populated a relocated IVT, and tested SWI (Software Interrupt)
2018-12-30 22:44:14 +01:00
50361931df Nice printk and file organization 2018-12-28 11:30:39 +01:00
f8fd8740c5 Minimal printk in C 2018-12-28 10:27:49 +01:00
49f0237874 First commit 2018-12-28 09:20:09 +01:00