Commit Graph

161 Commits

Author SHA1 Message Date
Mark d7a3ed3ff5 SMP works? 2020-10-04 15:48:11 +03:00
Mark ff8f319d8c src: split process and thread source files 2020-09-27 12:31:46 +03:00
Mark 53625fce71 boot: move yboot data to C struct 2020-09-08 23:54:58 +03:00
Mark ab3b3afcc5 boot: fix (?) memory corruption problems with EFI 2020-09-06 20:46:27 +03:00
Mark 7d3a0d58dc boot: add support for yboot protocol 2020-09-04 01:36:04 +03:00
Mark e0f0087ccc mman: rewrite physical memory manager
Better protection of reserved memory regions,
merged "pool" allocation functions into main
memory manager
2020-08-23 22:59:29 +03:00
Mark 887ffb7e53 Symbol tables, references to other mods, dependency checks 2020-08-11 01:32:03 +03:00
Mark d032356a89 ext2: node creation, mkdir()/creat() 2020-08-08 00:59:27 +03:00
Mark 68727654d0 ext2: block alloc/free, write up to L1 size 2020-08-07 17:24:05 +03:00
Mark d0af6bbee5 Move confign to defconfig 2020-08-07 13:01:24 +03:00
Mark 236f4e5bf5 Cleanup kernel options a bit 2020-08-07 12:53:58 +03:00
Mark 029e25dbbe (For now) enable unix sockets/net/display 2020-08-05 01:57:24 +03:00
Mark 19736d83f4 Move install-headers to makefile 2020-07-28 16:04:28 +03:00
Mark 500b6eb76d Remove CMake yet again 2020-07-28 15:52:23 +03:00
Mark fd0ec4150f Add ENABLE_NET and ENABLE_UNIX options 2020-07-11 23:31:41 +03:00
Mark f22591ad93 Move to cmake build system 2020-07-11 22:41:23 +03:00
Mark a6ccddd695 Add (sketchy) unix domain sockets 2020-07-07 15:42:51 +03:00
Mark ecf4262646 Separate notions of "thread" and "process" 2020-07-05 23:16:10 +03:00
Mark 5b8ef34eeb Move execve() 2020-07-05 17:59:05 +03:00
Mark eae186bbf2 A better set of functions for struct ofile 2020-07-05 17:41:12 +03:00
Mark 5e96775826 Add pipe() and dup2() system calls 2020-07-01 12:03:59 +03:00
Mark 137604d84f Add support for text-mode console 2020-06-25 16:53:08 +03:00
Mark dd36f0decf (Maybe) better console subsystem 2020-06-18 16:32:01 +03:00
Mark bc36220152 Remove old console code 2020-06-18 10:54:55 +03:00
Mark f05e7d2640 Remove old networking stack 2020-06-13 00:33:10 +03:00
Mark 30f027fd2d Proper port support for UDP 2020-06-01 18:41:13 +03:00
Mark 836e2b3a4b Remove 32-bit dependency from makefiles 2020-05-26 22:26:46 +03:00
Mark 92d2e572ae Full support for Multiboot2 booting, remove legacy loader 2020-05-26 22:24:15 +03:00
Mark dcf517f9cd Add stub _entry64 for multiboot2 2020-05-25 12:38:21 +03:00
Mark eebeef2a14 PoC module loading + external relocation resolution 2020-04-10 11:02:10 +03:00
Mark 8f3f600fa4 Add slab allocator for objects < 512B 2020-04-08 12:45:03 +03:00
Mark 536cb0794b Add a doc on building yggdrasil, updated toolchain patches 2020-04-07 23:53:57 +03:00
Mark c2c6a65af1 Add undefined behavior sanitization 2020-04-07 14:02:28 +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 7005c446f8 PoC shared memory implementation 2020-03-27 14:33:15 +02:00
Mark fd235dbb86 Add "connection reset" TCP handler for incoming SYN frames 2020-03-23 13:04:49 +02:00
Mark 8954fa8fef Split packet queues 2020-03-20 22:12:51 +02:00
Mark 1ef3a5d248 Add sockets and UDP sendto() 2020-03-20 16:37:52 +02:00
Mark 857a443c2e Add icmp reply and echo handling 2020-03-20 14:07:43 +02:00
Mark 1be037f3c6 Add netctl() 2020-03-20 12:08:48 +02:00
Mark 44e2372fa8 Add "network interface" structure 2020-03-20 11:44:26 +02:00
Mark 8d6ecc7134 Add ARP stub 2020-03-20 11:11:14 +02:00
Mark 86eb7c9282 Add RTL8139 receive and network daemon with stub handler 2020-03-19 16:41:05 +02:00
Mark 1ddd1b9cc8 USB hub driver 2020-03-12 16:51:52 +02:00
Mark db4ed36051 Configurable optimization level 2020-02-07 17:07:08 +02:00
Mark 98ac8c8379 Fix optimization issues - improperly clobbered registers and
optimized-out regions
2020-02-07 16:52:13 +02:00
Mark 31a4b8412a Split kernel_main into early (hw) init and main() 2020-02-07 13:19:29 +02:00
Mark 3e392687a5 Add block-layer cache support 2020-02-07 12:17:44 +02:00
Mark 827c259930 Add memory information in sysfs 2020-02-05 18:14:12 +02:00