Commit Graph

438 Commits

Author SHA1 Message Date
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 d6bb18b3b7 Add stack check fault handler 2020-05-25 12:03:17 +03:00
Mark bbf66db542 Fix boot problems on AMD KVM 2020-05-19 10:44:58 +03:00
Mark 39f89ceeb2 Fix UBsan warnings in ahci 2020-04-13 15:31:28 +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 b2a324c1f1 Update readme 2020-04-10 11:04:51 +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 536cb0794b Add a doc on building yggdrasil, updated toolchain patches 2020-04-07 23:53:57 +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 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 31f124f45b inet: filter accepted packets - only accept broad/unicast 2020-03-31 12:23:35 +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 ad002ee580 ps2aux: Add left button down/up event 2020-03-27 22:50:50 +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 3da77fbc1a Add packet queueing for tx 2020-03-26 17:04:23 +02:00
Mark f03676c500 tcp: treat ACKs as data, too 2020-03-25 10:48:29 +02:00
Mark 3905d0ca1a Clean up TCP code 2020-03-24 17:03:19 +02:00
Mark 282ebe0e5e tcp: Test socket establishing, no data transfer yet 2020-03-23 14:05:57 +02:00
Mark fd235dbb86 Add "connection reset" TCP handler for incoming SYN frames 2020-03-23 13:04:49 +02:00
Mark 7be54602f5 Add queue locks, fix raw socket close not cleaning up properly 2020-03-21 00:26:11 +02:00
Mark 874dd362ba Raw socket recv 2020-03-21 00:01:04 +02:00
Mark 8954fa8fef Split packet queues 2020-03-20 22:12:51 +02:00
Mark 7002562146 Rename "family" field in socket 2020-03-20 21:36:19 +02:00
Mark 65b663af11 Add socket close() 2020-03-20 21:28:03 +02:00
Mark 3162ab64aa Fix invalid packet size (rx) from rtl8139 due to padding 2020-03-20 21:01:02 +02:00
Mark 5ebea3ca13 Report inaddr via netctl() 2020-03-20 19:46:51 +02:00
Mark 22b201c6c0 Add UDP broadcast and setsockopt() 2020-03-20 18:51:22 +02:00
Mark f01a5c79ed arp: queue packets for sending while pending resolution 2020-03-20 17:04:11 +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 c183ae40db rtl8139: Add packet send 2020-03-20 13:30:41 +02:00
Mark 425dbdc114 Add ARP tables and reply function 2020-03-20 12:52:30 +02:00
Mark 1be037f3c6 Add netctl() 2020-03-20 12:08:48 +02:00