Commit Graph
49 Commits
Author SHA1 Message Date
christoph 4eeac40bb7 fix scheduler bug (memory req before alloc init) 2022-07-22 20:44:56 +02:00
christoph 43477834fc switch back to cpu.enable_int() from lock/unlock 2022-07-22 18:13:13 +02:00
christoph 104540a22e log 2022-07-22 02:56:30 +02:00
christoph 7e86f961fe scheduler + thread_start rework 2022-07-22 02:33:45 +02:00
christoph 9ad0d81d07 add idlethread error 2022-07-22 02:33:32 +02:00
christoph 017f7de650 adapt to scheduler rework 2022-07-21 20:36:12 +02:00
christoph 2ac36cda83 first (buggy) scheduler unique_ptr rework 2022-07-21 20:35:52 +02:00
christoph 18c659c4cc implement new list interface (optional) 2022-07-19 23:36:57 +02:00
christoph 2b1db30d1c merge dispatcher into scheduler 2022-07-19 00:28:00 +02:00
christoph 132eb13431 update for new list interface 2022-07-17 21:02:33 +02:00
christoph 566c11eab1 reduce insane output + introduce block queue 2022-07-17 01:14:32 +02:00
christoph b1e3129de8 log when idlethread destroyed 2022-07-17 01:14:08 +02:00
christoph 223b8af4b4 logging 2022-07-16 20:14:45 +02:00
christoph b454f5d01c adapt to new list interface 2022-07-16 18:24:32 +02:00
christoph 019e092a5e add some error handling to scheduler 2022-07-16 16:36:45 +02:00
christoph 675f995abd add logging to thread and destructor 2022-07-16 16:36:34 +02:00
christoph 2f7a2a219b add a shnitton of loggers 2022-07-16 03:30:20 +02:00
christoph b8d34e16dd reformat 2022-07-16 01:03:30 +02:00
christoph 499efede47 update scheduler to arraylist 2022-07-16 01:03:00 +02:00
christoph 1f4b9d52ed update idle thread 2022-07-16 01:02:46 +02:00
christoph f395ff1232 mode 2022-07-15 01:28:18 +02:00
christoph d0387ef545 fix scheduling bug with deblock 2022-07-14 13:35:34 +02:00
christoph b840895164 change mode 2022-07-14 13:35:26 +02:00
christoph 5ca6d25c7c change keyboard demo to event listener 2022-07-11 22:51:03 +02:00
christoph 04edfd0a2b print idle thread init 2022-07-11 19:29:57 +02:00
christoph 66b3b914d0 fix semaphore spinlock bug 2022-07-11 15:37:26 +02:00
christoph 012f68838b implement semaphore 2022-07-11 15:00:05 +02:00
christoph 7058350414 use pointer instead of reference for thread 2022-07-11 14:36:41 +02:00
christoph c63b960e6a fix bug where ebx was saved incorrectly on preempt 2022-07-11 14:35:45 +02:00
christoph bb0ff5104c add vorgabe10 2022-07-11 13:29:54 +02:00
christoph 51390ef277 reformat 2022-07-04 22:05:07 +02:00
christoph 7ab5fdb361 fix scheduler bug 2022-07-04 21:24:18 +02:00
christoph 1cac6b3a58 update Thread_switch for preemption 2022-07-04 21:23:31 +02:00
christoph 6ad1d9e525 make regs private again 2022-07-04 21:23:14 +02:00
christoph e2e2c4545e disable scheduler interrupt pausing, no preemption 2022-07-04 17:07:18 +02:00
christoph 17aee557da add vorgabe 2022-07-04 16:20:08 +02:00
christoph da6c5ab0b5 add vorgabe09 2022-07-04 16:17:39 +02:00
christoph 1f01a561a3 fix scheduling bug when only 1 thread is available 2022-07-04 14:54:25 +02:00
churl 331613cd46 update mode, why does this keep happening? 2022-06-27 22:50:11 +02:00
christoph e6e2674164 update mode 2022-06-23 12:58:34 +02:00
churl 0e72cebc40 complete scheduler 2022-06-15 21:32:23 +02:00
churl 49adb1c1f0 update 2022-06-15 21:32:07 +02:00
churl 973c76f010 comments 2022-06-05 16:57:59 +02:00
churl 951185bccc add output to idle thread 2022-06-05 16:51:17 +02:00
churl f229e43c6b reformat 2022-06-05 16:51:11 +02:00
churl a09e3e4a34 first scheduler implementation 2022-06-05 16:50:58 +02:00
churl 717872c2d9 migrate coroutines to threads 2022-06-05 15:52:23 +02:00
churl 24535f8ff7 update modes 2022-06-05 15:25:30 +02:00
christoph 32b1f2391f add vorgabe06 2022-06-02 13:01:43 +02:00