Commit Graph
100 Commits
Author SHA1 Message Date
christoph 9a3458e56a remove old queue code 2022-07-23 15:34:08 +02:00
christoph 147c106791 Merge branch 'main' into thread.asm_change 2022-07-23 15:23:55 +02:00
christoph 18395f8eff readme 2022-07-23 14:53:32 +02:00
christoph 3451dc8ce0 remove register keyword 2022-07-23 14:53:25 +02:00
christoph 3bdad54280 force cast ioport offset addressing to u_short 2022-07-23 14:34:58 +02:00
christoph 33e5ccccd7 untrack tools/build 2022-07-23 14:33:51 +02:00
christoph 50d50e4f02 rename lib 2022-07-23 14:33:23 +02:00
christoph b777891d37 rename extraflags to gccflags 2022-07-23 14:33:15 +02:00
christoph 3f8ff439a0 Revert "add own bse::move"
This reverts commit 72b99990b6.
2022-07-23 14:32:07 +02:00
christoph c658d55fe6 add ioport cast to unsigned short (for offsetting) 2022-07-23 14:28:57 +02:00
christoph d83df8c180 rename extraflags to gccflags 2022-07-23 14:28:46 +02:00
christoph a70f8ae51f rename lib 2022-07-23 13:38:47 +02:00
christoph 7f34f80a8c use bse::move 2022-07-23 13:37:41 +02:00
christoph 72b99990b6 add own bse::move 2022-07-23 13:37:35 +02:00
christoph a56dbb316f rename lib 2022-07-23 13:37:28 +02:00
christoph 15ded9c02c remove cstddef 2022-07-23 13:19:35 +02:00
christoph 647021d434 remove cstddef 2022-07-23 13:18:08 +02:00
christoph fe648cc49c change the assembly to use push and pop 2022-07-23 13:15:57 +02:00
christoph 2d1c21584c update 2022-07-23 13:15:48 +02:00
christoph 840c775ff9 remove old thread code (state, inc...) 2022-07-23 13:14:42 +02:00
christoph dc79b6595c thread.cc 2022-07-23 02:11:52 +02:00
christoph 17baf82332 comments 2022-07-23 01:49:05 +02:00
christoph 8b40cb1802 switch threadstate to esp int 2022-07-23 01:48:52 +02:00
christoph e143733b00 static logger 2022-07-23 00:20:44 +02:00
christoph bd95c02a08 use static logger 2022-07-22 23:32:46 +02:00
christoph ec09b0e6d2 make logger static and add name wrapper 2022-07-22 23:32:36 +02:00
christoph 60a01461b0 comments 2022-07-22 22:34:52 +02:00
christoph 9b6e84641c readme 2022-07-22 22:24:26 +02:00
christoph 1b7d8118fe comments/readme 2022-07-22 22:00:56 +02:00
christoph adeaaa6edd update demos for nice_kill 2022-07-22 21:39:22 +02:00
christoph 4e584546a0 comment 2022-07-22 21:39:16 +02:00
christoph db476093c7 add possibility to ask thread to suicide itself 2022-07-22 21:38:56 +02:00
christoph 16d7ae071d add name + running (nice_kill) to threads 2022-07-22 21:38:43 +02:00
christoph 3c6f6dd009 add Vector::reserve function 2022-07-22 20:45:52 +02:00
christoph 56eec2d766 disable sched log 2022-07-22 20:45:36 +02:00
christoph 4eeac40bb7 fix scheduler bug (memory req before alloc init) 2022-07-22 20:44:56 +02:00
christoph 061fa5db57 dealloc memory when exiting vesa mode 2022-07-22 20:44:35 +02:00
christoph cde3967961 fix semaphore bug (preempt before block/deblock) 2022-07-22 18:13:30 +02:00
christoph 43477834fc switch back to cpu.enable_int() from lock/unlock 2022-07-22 18:13:13 +02:00
christoph e56e76ea4e add semaphore to cga_stream + use it in demos 2022-07-22 18:12:56 +02:00
christoph e3dcadcc3c add debug get() to iterator 2022-07-22 18:12:28 +02:00
christoph b3c6c354c6 remove logger from vector 2022-07-22 18:12:17 +02:00
christoph e867107822 tools/build 2022-07-22 18:12:00 +02:00
christoph cf4a51b47a flake 2022-07-22 18:11:56 +02:00
christoph 87801e4eb2 move .clang-* 2022-07-22 18:11:31 +02:00
christoph 104540a22e log 2022-07-22 02:56:30 +02:00
christoph 8612587e65 remove semaphore from cga_stream 2022-07-22 02:56:14 +02:00
christoph 3540604ec7 add a primitive vector test 2022-07-22 02:35:33 +02:00
christoph e1978db22e main 2022-07-22 02:35:24 +02:00
christoph 01e15f484e log keyeventlistener 2022-07-22 02:35:18 +02:00
christoph 2021788831 fix wrong size after insertion bug in vector 2022-07-22 02:34:56 +02:00
christoph 8571e502e6 fix + and - bugs in iterator 2022-07-22 02:34:26 +02:00
christoph 4bd216b594 update demos 2022-07-22 02:34:15 +02:00
christoph 4327789db6 remove old input.h 2022-07-22 02:34:00 +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 d24d54ec0a use gdb -tui 2022-07-22 02:33:22 +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 02c75e483d implement slightly changed erase_if 2022-07-21 20:35:32 +02:00
christoph ee0295ce21 add implicit upcasting to unique_ptr 2022-07-21 20:35:21 +02:00
christoph 5164908b52 only implement one iterator class, no inheritance 2022-07-21 20:34:59 +02:00
christoph 566451ef97 switch array namespace in demo 2022-07-21 14:12:58 +02:00
christoph 40a19d32f3 change iterator friends to members 2022-07-21 02:49:05 +02:00
christoph b198e623e4 fix demo 2022-07-21 02:48:57 +02:00
christoph 498990559c add vector demo 2022-07-21 02:44:06 +02:00
christoph ae7294601d adapt to vector 2022-07-21 02:44:01 +02:00
christoph fa7d9d4d19 implement vector 2022-07-21 02:43:41 +02:00
christoph 53cea941f1 delete lists 2022-07-21 02:43:24 +02:00
christoph 48ef1948e4 comment 2022-07-21 02:43:02 +02:00
christoph 81616e0b1b comment 2022-07-20 23:39:47 +02:00
christoph 3ca01e2006 comment 2022-07-20 23:39:41 +02:00
christoph 137d433ec0 lists return 0 instead of -1 when insertion fails 2022-07-20 23:38:54 +02:00
christoph 16bde883be add missing delete[] in allocator 2022-07-20 22:59:33 +02:00
christoph f420d5f677 clean moved objects, destructor 2022-07-20 22:03:39 +02:00
christoph b2dfa72f3b switch to raw ptr, clean moved objects, destructor 2022-07-20 22:03:05 +02:00
christoph 2ed5aba8c3 add support to build with clang 2022-07-20 22:02:49 +02:00
christoph 7a3704072b comments 2022-07-20 22:02:36 +02:00
christoph b9be775518 remove template specializations from unique_ptr 2022-07-20 22:02:11 +02:00
christoph 18c659c4cc implement new list interface (optional) 2022-07-19 23:36:57 +02:00
christoph 241699a9bf switch list to optional return 2022-07-19 23:09:55 +02:00
christoph 78f38f46ef add const reference operators to unique_ptr 2022-07-19 21:59:12 +02:00
christoph fea927380e switch arraylist to unique_ptr 2022-07-19 21:59:00 +02:00
christoph b7070b522a comments 2022-07-19 21:58:50 +02:00
christoph a827e1d809 smartpointer demo 2022-07-19 21:43:10 +02:00
christoph 1519e08072 implement unique_ptr 2022-07-19 21:43:04 +02:00
christoph 5b5ca29246 comments 2022-07-19 21:42:54 +02:00
christoph a9c7b5161d switch mylib to bse namespace 2022-07-19 21:42:46 +02:00
christoph 7d789f5583 comment 2022-07-19 21:42:22 +02:00
christoph 11cd85ca18 removed old obsolete code 2022-07-19 15:01:52 +02:00
christoph 2f47dc8f94 fix list destructors 2022-07-19 14:56:59 +02:00
christoph c319c0b604 remove smarptrdemo impl until i have my own one 2022-07-19 14:51:55 +02:00
christoph 16acf1f21e smartpointer demo for debug 2022-07-19 14:48:07 +02:00
christoph f3e8466456 switch arraylist back to raw pointer 2022-07-19 14:47:59 +02:00
christoph 18c43ae37d implement list destructor 2022-07-19 14:47:49 +02:00
christoph 304458a816 switch order 2022-07-19 14:47:37 +02:00
christoph e6194247cb comments 2022-07-19 14:47:33 +02:00
christoph 84d170cc97 flake 2022-07-19 12:18:56 +02:00
christoph c8b88e2eb6 update flake 2022-07-19 12:17:17 +02:00
christoph 885eecf468 add smartpointer demo for debug 2022-07-19 11:25:56 +02:00