Commit Graph

420 Commits

Author SHA1 Message Date
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
Mark 44e2372fa8 Add "network interface" structure 2020-03-20 11:44:26 +02:00
Mark 0c64ca8b4d Revert signal triggering code 2020-03-20 11:14:49 +02:00
Mark 8d6ecc7134 Add ARP stub 2020-03-20 11:11:14 +02:00
Mark 8c6a8beeaf Add packet (Rx) queueing 2020-03-20 10:42:02 +02:00
Mark 86eb7c9282 Add RTL8139 receive and network daemon with stub handler 2020-03-19 16:41:05 +02:00
Mark b40d495e4e Add non-MSI IRQ functionality to PCI 2020-03-19 15:31:58 +02:00
Mark 1ddd1b9cc8 USB hub driver 2020-03-12 16:51:52 +02:00
Mark 0ac3074399 Optional debug cycles 2020-02-28 11:58:00 +02:00
Mark 17927f2a73 Remove unnecessary debug message from heap 2020-02-07 17:09:24 +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 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 827c259930 Add memory information in sysfs 2020-02-05 18:14:12 +02:00
Mark 16175ac4fc Also dump BARs in sysfs PCI config 2020-02-05 17:52:39 +02:00
Mark b345f51c2a Update PCI with new cherry-picked commit (sysfs) 2020-02-05 17:00:51 +02:00