1

150 Commits

Author SHA1 Message Date
51d0f35c3b add thread alloc error "handling" 2022-07-27 23:47:13 +02:00
8430c50318 fix paging: invalidate tlb 2022-07-27 23:43:50 +02:00
d04f4495ae final cleanup 2022-07-24 23:13:12 +02:00
0ced077122 move logger 2022-07-24 21:49:04 +02:00
6481bae5f6 merged cleanup 2022-07-24 21:12:31 +02:00
b9477f76ab nullptr instead of 0 2022-07-24 16:55:53 +02:00
18e0a666c8 remove logger from globals, use static 2022-07-24 16:55:09 +02:00
0d109727ac reformat + static const ioports 2022-07-24 16:54:51 +02:00
e1eac41853 reformat 2022-07-24 16:51:16 +02:00
a15e1d9fd4 reformat 2022-07-24 16:46:02 +02:00
3546cba4ea reformat 2022-07-24 15:58:17 +02:00
1572590c33 reformat 2022-07-24 15:58:03 +02:00
afa2e67fd4 reformat 2022-07-24 15:57:47 +02:00
a00a93d157 better exit error message 2022-07-24 02:27:15 +02:00
b0b6ec13dc allow vector to be lazy init if alloc not avail 2022-07-24 02:22:43 +02:00
d9b86355c7 remove <cstddef> and NULLs (use nullptr) 2022-07-24 00:40:51 +02:00
605d4e8c8d switch cpu methods to static 2022-07-24 00:29:21 +02:00
94cc244868 rename Iterator to iterator 2022-07-23 21:38:16 +02:00
c95361552a rename Vector to vector 2022-07-23 21:37:00 +02:00
70876f1a06 use the stack for regs in thread_switch 2022-07-23 18:40:16 +02:00
cd26464052 add new asm which doesn't work yet 2022-07-23 18:27:44 +02:00
55fdf2d493 change thread switch args 2022-07-23 18:27:25 +02:00
147c106791 Merge branch 'main' into thread.asm_change 2022-07-23 15:23:55 +02:00
3451dc8ce0 remove register keyword 2022-07-23 14:53:25 +02:00
3bdad54280 force cast ioport offset addressing to u_short 2022-07-23 14:34:58 +02:00
3f8ff439a0 Revert "add own bse::move"
This reverts commit 72b99990b6.
2022-07-23 14:32:07 +02:00
c658d55fe6 add ioport cast to unsigned short (for offsetting) 2022-07-23 14:28:57 +02:00
fe648cc49c change the assembly to use push and pop 2022-07-23 13:15:57 +02:00
2d1c21584c update 2022-07-23 13:15:48 +02:00
840c775ff9 remove old thread code (state, inc...) 2022-07-23 13:14:42 +02:00
dc79b6595c thread.cc 2022-07-23 02:11:52 +02:00
8b40cb1802 switch threadstate to esp int 2022-07-23 01:48:52 +02:00
e143733b00 static logger 2022-07-23 00:20:44 +02:00
bd95c02a08 use static logger 2022-07-22 23:32:46 +02:00
adeaaa6edd update demos for nice_kill 2022-07-22 21:39:22 +02:00
db476093c7 add possibility to ask thread to suicide itself 2022-07-22 21:38:56 +02:00
16d7ae071d add name + running (nice_kill) to threads 2022-07-22 21:38:43 +02:00
56eec2d766 disable sched log 2022-07-22 20:45:36 +02:00
4eeac40bb7 fix scheduler bug (memory req before alloc init) 2022-07-22 20:44:56 +02:00
43477834fc switch back to cpu.enable_int() from lock/unlock 2022-07-22 18:13:13 +02:00
104540a22e log 2022-07-22 02:56:30 +02:00
7e86f961fe scheduler + thread_start rework 2022-07-22 02:33:45 +02:00
9ad0d81d07 add idlethread error 2022-07-22 02:33:32 +02:00
017f7de650 adapt to scheduler rework 2022-07-21 20:36:12 +02:00
2ac36cda83 first (buggy) scheduler unique_ptr rework 2022-07-21 20:35:52 +02:00
16bde883be add missing delete[] in allocator 2022-07-20 22:59:33 +02:00
18c659c4cc implement new list interface (optional) 2022-07-19 23:36:57 +02:00
304458a816 switch order 2022-07-19 14:47:37 +02:00
2b1db30d1c merge dispatcher into scheduler 2022-07-19 00:28:00 +02:00
132eb13431 update for new list interface 2022-07-17 21:02:33 +02:00