435 Commits

Author SHA1 Message Date
Mark 765223b361 More compact panic/backtrace 2020-06-11 23:49:26 +03:00
Mark 99d4bd642c Fix ring buffer overflow due to missed keys 2020-06-11 19:28:36 +03:00
Mark d34e0c4faa Fix double ring signalling leading to crash 2020-06-11 18:19:55 +03:00
Mark 34ece34e01 More detailed panic messages 2020-06-11 17:11:24 +03:00
Mark 30f027fd2d Proper port support for UDP 2020-06-01 18:41:13 +03:00
Mark 2dd7933c0d Fix invalid ICANON reader notification 2020-06-01 12:58:51 +03:00
Mark d28442d51e Fix SIGUSRn signal numbers, add debug shortcut 2020-05-29 14:28:12 +03:00
Mark f2a394139b Obtain symbol table, fix module loading 2020-05-28 15:04:17 +03:00
Mark e2fda0001f Added fstat() 2020-05-26 20:55:06 +03:00
Mark d6bb18b3b7 Add stack check fault handler 2020-05-25 12:03:17 +03:00
Mark 927e639d3a Add support for shared anonymous mappings 2020-04-13 12:28:22 +03:00
Mark b4f0f3214a PoC copy-on-write, likely leaky 2020-04-11 18:16:29 +03:00
Mark eebeef2a14 PoC module loading + external relocation resolution 2020-04-10 11:02:10 +03:00
Mark ba01eb3397 Fixed shared regions not clenup up (leak) 2020-04-08 12:58:51 +03:00
Mark 38ecc1f70d Add slab allocation tracing 2020-04-08 12:54:10 +03:00
Mark 8f3f600fa4 Add slab allocator for objects < 512B 2020-04-08 12:45:03 +03:00
Mark 3621a567a8 Move amd64_* memory functions to mm_ namespace 2020-04-07 15:13:37 +03:00
Mark c2c6a65af1 Add undefined behavior sanitization 2020-04-07 14:02:28 +03:00
Mark 2a8653bb4b Fix shmem regions not being removed from list (memory corruption) 2020-04-07 13:41:27 +03:00
Mark 636ad966c4 Newlib compat 2020-04-07 11:49:38 +03:00
Mark 19ff8767ae (Sketchy) support for bigger files in tarfs, RO again 2020-04-07 11:47:36 +03:00
Mark 522a5cc9d6 Add select() on sockets 2020-03-31 11:30:26 +03:00
Mark 26bf9f60c0 Integrate new io_notify with waitpid() 2020-03-31 13:04:27 +03:00
Mark 55d2efda8e Reworked how waiting/select()ing FDs works 2020-03-30 18:08:23 +03:00
Mark 37ed963272 Clean implementation of socket classes 2020-03-30 10:59:25 +03:00
Mark d4ae0182b9 Line discipline fixes 2020-03-27 23:38:00 +02:00
Mark abfa9b6602 Add simple select() (non-suspending) 2020-03-27 18:24:09 +02:00
Mark b3cf46f194 Add video ioctls and mmap 2020-03-27 16:55:52 +02:00
Mark ae1de3acff Switch to global shm tracking 2020-03-27 14:52:57 +02:00
Mark 7005c446f8 PoC shared memory implementation 2020-03-27 14:33:15 +02:00
Mark f44505b05c Rework list functions 2020-03-26 22:05:06 +02:00
Mark 65b663af11 Add socket close() 2020-03-20 21:28:03 +02:00
Mark 22b201c6c0 Add UDP broadcast and setsockopt() 2020-03-20 18:51:22 +02:00
Mark 1ef3a5d248 Add sockets and UDP sendto() 2020-03-20 16:37:52 +02:00
Mark 1be037f3c6 Add netctl() 2020-03-20 12:08:48 +02:00
Mark 0c64ca8b4d Revert signal triggering code 2020-03-20 11:14:49 +02:00
Mark 86eb7c9282 Add RTL8139 receive and network daemon with stub handler 2020-03-19 16:41:05 +02:00
Mark 0ac3074399 Optional debug cycles 2020-02-28 11:58:00 +02:00
Mark 4878a0b06e Proper FPU init, fxsave/fxrstor for threads 2020-02-07 15:02:06 +02:00
Mark 31a4b8412a Split kernel_main into early (hw) init and main() 2020-02-07 13:19:29 +02:00
Mark b44645900d Added an option to mount filesystems synchronously 2020-02-07 12:54:50 +02:00
Mark 3e392687a5 Add block-layer cache support 2020-02-07 12:17:44 +02:00
Mark 41ae3d7aab Fix ring reader ignoring signals and unqueuing threads twice 2020-02-05 13:28:11 +02:00
Mark 533bc8567a Add linked list structure 2020-02-05 11:38:13 +02:00
Mark bdab682a99 Notify ring reader when control character is written to ring 2020-02-05 10:36:31 +02:00
Mark 33ad8e3ee3 Fix scheduler lock not being released when handling signals 2020-02-04 23:37:57 +02:00
Mark 3542b73f1a SMP kinda works, fixed malloc race condition
Damn, I totally need to review SMP safety
2020-02-04 14:16:16 +02:00
Mark d9595c7f62 Change project structure 2020-02-04 12:45:15 +02:00
Mark b60ae9eebd Backport VESA driver 2020-02-03 13:43:02 +02:00
Mark 897bf87843 Add power button handler (and test SCI) for ACPI 2020-02-03 15:00:40 +02:00