307 Commits

Author SHA1 Message Date
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 b1ccfeb6b2 Merge branch 'ditch-loader' into dev 2020-05-26 22:27:02 +03:00
Mark 92d2e572ae Full support for Multiboot2 booting, remove legacy loader 2020-05-26 22:24:15 +03:00
Mark e2fda0001f Added fstat() 2020-05-26 20:55:06 +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 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 05b8ad8aaf Add some docs 2020-04-07 17:39:37 +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 636ad966c4 Newlib compat 2020-04-07 11:49:38 +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 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 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 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 533bc8567a Add linked list structure 2020-02-05 11:38:13 +02:00
Mark fc837b97d8 Only use spinlocks in SMP scenario 2020-02-05 10:39:00 +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
Mark 9cc94a4d81 Add legacy PCI configuration space reading for ACPICA compat 2020-02-03 14:31:14 +02:00
Mark 32f51f53f0 Backport USB driver + UHCI 2020-02-03 13:40:03 +02:00
Mark e342c62882 Thread cleanup stub 2020-02-03 13:24:52 +02:00
Mark 68a7241a87 reboot() system call 2020-02-03 13:10:46 +02:00
Mark fbdb44b71d Backport ext2 2020-02-03 12:56:53 +02:00
Mark 818e3d8825 Thread names 2020-02-03 12:47:28 +02:00
Mark 14805828b5 Backport sysfs and random 2020-02-03 12:39:53 +02:00
Mark 086447914b brk() and readdir() system calls 2020-02-03 12:16:25 +02:00
Mark 5e23fc4f5c SIGINT from tty, process groups and waitpid() 2020-02-02 13:41:40 +02:00
Mark d6ffd57afa Interruptible nanosleep() 2020-02-01 22:08:05 +02:00
Mark 0571a7f12a Bring back more previously available syscalls 2020-02-01 21:11:47 +02:00
Mark b23098c8f2 Add a bunch of headers (stubs) for compat, add getpid() 2020-02-01 00:05:41 +02:00
Mark 6089df1556 Global thread list, proper kill() implementation, proper signal entry in
sched
2020-01-31 23:35:46 +02:00
Mark 0df6daa87f Restructure source files 2020-01-31 22:57:38 +02:00
Mark 4e845d5d5e Backport more old code 2020-01-31 22:18:29 +02:00
Mark 93c8fc0b77 Make sigenter-stored RSP per-thread attribute 2020-01-31 17:25:04 +02:00
Mark f00b5127b9 Cleanup a bit 2020-01-31 17:20:30 +02:00