Commit Graph

680 Commits

Author SHA1 Message Date
Alex
784d7726df Support multiple registered interrupt handlers 2023-03-02 02:32:31 +02:00
Alex
2bdfe0bedc Updated FexExtended structure 2023-03-02 02:31:52 +02:00
Alex
e851d32e49 Use bigger random numbers for stack guard 2023-03-02 02:31:31 +02:00
Alex
18dd70b139 Print on screen if HPET is missing 2023-03-02 02:30:42 +02:00
Alex
3ec416b215 Updated driver API 2023-03-02 02:30:25 +02:00
Alex
75883030ad Renamed "interrupts.hpp" to "ints.hpp" 2023-02-28 12:58:09 +02:00
Alex
65dfa325e9 Optimize 2023-02-27 22:20:02 +02:00
Alex
392ebc9be2 Renamed "__no_instrument_function" 2023-02-27 22:19:40 +02:00
Alex
81512f2b57 Wrong calculation for last task ticks 2023-02-27 17:57:52 +02:00
Alex
c601e6c76c Init task firstly needs to be critical 2023-02-27 17:44:40 +02:00
Alex
df24131e48 Added last task ticks counter 2023-02-27 17:44:10 +02:00
Alex
c4a2f645de Use vector instead of hashmap 2023-02-27 17:36:18 +02:00
Alex
7b756263c0 Create a null element and return it 2023-02-26 10:56:11 +02:00
Alex
5427e7f2ca Set baud rate to 115200 2023-02-25 07:23:25 +02:00
Alex
ca5745aa6d Fixed compiler warning 2023-02-25 04:54:48 +02:00
Alex
4d279f0d12 Fixed ConvertFromUnix() 2023-02-25 04:52:09 +02:00
Alex
744895afd6 Redirect IRQs to BSP 2023-02-25 03:59:56 +02:00
Alex
4b45313369 FIXME 2023-02-25 03:59:26 +02:00
Alex
5e72d81a8f Simple CPU affinity system 2023-02-25 03:58:11 +02:00
Alex
14aa071e7f Fixed deadlock 2023-02-25 02:44:13 +02:00
Alex
4519204580 Reimplemented Xalloc from scratch 2023-02-24 10:19:55 +02:00
Alex
62e9d7b9c9 fixme 2023-02-24 10:15:05 +02:00
Alex
f767d950c4 Show error code 2023-02-24 10:12:25 +02:00
Alex
bcf46f8341 Added GetLocksCount() 2023-02-24 10:11:48 +02:00
Alex
3e76830978 Fixed excessive padding 2023-02-22 02:11:28 +02:00
Alex
c817be50ff Put CPU namespaces in separate files to make cpu.hpp smaller 2023-02-22 01:48:38 +02:00
Alex
a35482694f Fixed keyboard interrupt 2023-02-22 01:22:10 +02:00
Alex
5c6ba5b6e1 Removed useless text 2023-02-21 23:08:16 +02:00
Alex
3f3db40026 Fixed race conditions 2023-02-19 01:54:38 +02:00
Alex
07738ddb0a Added StackPointer* for lock 2023-02-19 01:54:17 +02:00
Alex
4454181448 Added KCTL_IS_CRITICAL 2023-02-19 01:51:36 +02:00
Alex
4cdc3dffaa Removed messages 2023-02-19 00:53:45 +02:00
Alex
73e5f13d35 Signal all cores to stop on exception 2023-02-19 00:51:44 +02:00
Alex
c5e3809674 Spinlocked uart 2023-02-19 00:51:12 +02:00
Alex
858a67c047 Fixed race condition 2023-02-19 00:24:14 +02:00
Alex
84ed8d61e2 Added int1 and int3 marco 2023-02-19 00:23:40 +02:00
Alex
419b5bee0d Replaced "__sync_synchronize" with "__sync" 2023-02-18 04:13:49 +02:00
Alex
0fb62e52d2 Use correct instruction 2023-02-18 04:11:59 +02:00
Alex
476e97baf1 Added ForceUnlock boolean 2023-02-18 04:11:28 +02:00
Alex
95a78ef939 CurrentThread/Process should be atomic 2023-02-18 04:10:41 +02:00
Alex
f5a724145e Debug messages for memory allocation 2023-02-18 04:09:33 +02:00
Alex
a142c54a7c Update Vector code 2023-02-18 04:09:07 +02:00
Alex
754e4ea0c7 Atomic default value 0 2023-02-18 04:08:21 +02:00
Alex
ad1c2214ef Show more debug messages 2023-02-18 04:07:40 +02:00
Alex
20064c05ff ubsan 2023-02-16 21:58:58 +02:00
Alex
c1d876f5fd RemoveAll should not have any stack protection or sanitization 2023-02-16 21:45:48 +02:00
Alex
3618e1df87 Added __sync marco 2023-02-16 04:04:59 +02:00
Alex
d491820759 Compiler warning 2023-02-16 03:51:08 +02:00
Alex
593bd0d620 Fixed screen printing bug 2023-02-16 03:50:32 +02:00
Alex
78e1748233 Optimize Scroll() function 2023-02-16 03:00:00 +02:00