Commit Graph

  • d28442d51e Fix SIGUSRn signal numbers, add debug shortcut Mark 2020-05-29 14:28:12 +03:00
  • f2a394139b Obtain symbol table, fix module loading Mark 2020-05-28 15:04:17 +03:00
  • b1ccfeb6b2 Merge branch 'ditch-loader' into dev Mark 2020-05-26 22:27:02 +03:00
  • 836e2b3a4b Remove 32-bit dependency from makefiles Mark 2020-05-26 22:26:46 +03:00
  • 92d2e572ae Full support for Multiboot2 booting, remove legacy loader Mark 2020-05-26 22:24:15 +03:00
  • e2fda0001f Added fstat() Mark 2020-05-26 20:55:06 +03:00
  • dcf517f9cd Add stub _entry64 for multiboot2 Mark 2020-05-25 12:38:21 +03:00
  • d6bb18b3b7 Add stack check fault handler Mark 2020-05-25 12:03:17 +03:00
  • bbf66db542 Fix boot problems on AMD KVM Mark 2020-05-19 10:44:58 +03:00
  • 39f89ceeb2 Fix UBsan warnings in ahci Mark 2020-04-13 15:31:28 +03:00
  • 927e639d3a Add support for shared anonymous mappings Mark 2020-04-13 12:28:22 +03:00
  • b4f0f3214a PoC copy-on-write, likely leaky Mark 2020-04-11 18:16:29 +03:00
  • b2a324c1f1 Update readme Mark 2020-04-10 11:04:51 +03:00
  • eebeef2a14 PoC module loading + external relocation resolution Mark 2020-04-10 11:02:10 +03:00
  • ba01eb3397 Fixed shared regions not clenup up (leak) Mark 2020-04-08 12:58:51 +03:00
  • 38ecc1f70d Add slab allocation tracing Mark 2020-04-08 12:54:10 +03:00
  • 8f3f600fa4 Add slab allocator for objects < 512B Mark 2020-04-08 12:45:03 +03:00
  • 536cb0794b Add a doc on building yggdrasil, updated toolchain patches Mark 2020-04-07 23:53:57 +03:00
  • 05b8ad8aaf Add some docs Mark 2020-04-07 17:39:37 +03:00
  • 3621a567a8 Move amd64_* memory functions to mm_ namespace Mark 2020-04-07 15:13:37 +03:00
  • c2c6a65af1 Add undefined behavior sanitization Mark 2020-04-07 14:02:28 +03:00
  • 2a8653bb4b Fix shmem regions not being removed from list (memory corruption) Mark 2020-04-07 13:41:27 +03:00
  • 636ad966c4 Newlib compat Mark 2020-04-07 11:49:38 +03:00
  • 19ff8767ae (Sketchy) support for bigger files in tarfs, RO again Mark 2020-04-07 11:47:36 +03:00
  • 31f124f45b inet: filter accepted packets - only accept broad/unicast Mark 2020-03-31 12:23:35 +03:00
  • 522a5cc9d6 Add select() on sockets Mark 2020-03-31 11:30:26 +03:00
  • 26bf9f60c0 Integrate new io_notify with waitpid() Mark 2020-03-31 13:04:27 +03:00
  • 55d2efda8e Reworked how waiting/select()ing FDs works Mark 2020-03-30 18:08:23 +03:00
  • 37ed963272 Clean implementation of socket classes Mark 2020-03-30 10:59:25 +03:00
  • d4ae0182b9 Line discipline fixes Mark 2020-03-27 23:38:00 +02:00
  • ad002ee580 ps2aux: Add left button down/up event Mark 2020-03-27 22:50:50 +02:00
  • abfa9b6602 Add simple select() (non-suspending) Mark 2020-03-27 18:24:09 +02:00
  • b3cf46f194 Add video ioctls and mmap Mark 2020-03-27 16:55:52 +02:00
  • ae1de3acff Switch to global shm tracking Mark 2020-03-27 14:52:57 +02:00
  • 7005c446f8 PoC shared memory implementation Mark 2020-03-27 14:33:15 +02:00
  • f44505b05c Rework list functions Mark 2020-03-26 22:05:06 +02:00
  • 3da77fbc1a Add packet queueing for tx Mark 2020-03-26 17:04:23 +02:00
  • f03676c500 tcp: treat ACKs as data, too Mark 2020-03-25 10:48:29 +02:00
  • 3905d0ca1a Clean up TCP code Mark 2020-03-24 17:03:19 +02:00
  • 282ebe0e5e tcp: Test socket establishing, no data transfer yet Mark 2020-03-23 14:05:57 +02:00
  • fd235dbb86 Add "connection reset" TCP handler for incoming SYN frames Mark 2020-03-23 13:04:49 +02:00
  • 7be54602f5 Add queue locks, fix raw socket close not cleaning up properly Mark 2020-03-21 00:26:11 +02:00
  • 874dd362ba Raw socket recv Mark 2020-03-21 00:01:04 +02:00
  • 8954fa8fef Split packet queues Mark 2020-03-20 22:12:51 +02:00
  • 7002562146 Rename "family" field in socket Mark 2020-03-20 21:36:19 +02:00
  • 65b663af11 Add socket close() Mark 2020-03-20 21:28:03 +02:00
  • 3162ab64aa Fix invalid packet size (rx) from rtl8139 due to padding Mark 2020-03-20 21:01:02 +02:00
  • 5ebea3ca13 Report inaddr via netctl() Mark 2020-03-20 19:46:51 +02:00
  • 22b201c6c0 Add UDP broadcast and setsockopt() Mark 2020-03-20 18:51:22 +02:00
  • f01a5c79ed arp: queue packets for sending while pending resolution Mark 2020-03-20 17:04:11 +02:00
  • 1ef3a5d248 Add sockets and UDP sendto() Mark 2020-03-20 16:37:52 +02:00
  • 857a443c2e Add icmp reply and echo handling Mark 2020-03-20 14:07:43 +02:00
  • c183ae40db rtl8139: Add packet send Mark 2020-03-20 13:30:41 +02:00
  • 425dbdc114 Add ARP tables and reply function Mark 2020-03-20 12:52:30 +02:00
  • 1be037f3c6 Add netctl() Mark 2020-03-20 12:08:48 +02:00
  • 44e2372fa8 Add "network interface" structure Mark 2020-03-20 11:44:26 +02:00
  • 0c64ca8b4d Revert signal triggering code Mark 2020-03-20 11:14:49 +02:00
  • 8d6ecc7134 Add ARP stub Mark 2020-03-20 11:11:14 +02:00
  • 8c6a8beeaf Add packet (Rx) queueing Mark 2020-03-20 10:42:02 +02:00
  • 86eb7c9282 Add RTL8139 receive and network daemon with stub handler Mark 2020-03-19 16:41:05 +02:00
  • b40d495e4e Add non-MSI IRQ functionality to PCI Mark 2020-03-19 15:31:58 +02:00
  • 1ddd1b9cc8 USB hub driver Mark 2020-03-12 16:51:52 +02:00
  • 0ac3074399 Optional debug cycles Mark 2020-02-28 11:58:00 +02:00
  • 17927f2a73 Remove unnecessary debug message from heap Mark 2020-02-07 17:09:24 +02:00
  • db4ed36051 Configurable optimization level Mark 2020-02-07 17:07:08 +02:00
  • 98ac8c8379 Fix optimization issues - improperly clobbered registers and optimized-out regions Mark 2020-02-07 16:52:13 +02:00
  • 4878a0b06e Proper FPU init, fxsave/fxrstor for threads Mark 2020-02-07 15:02:06 +02:00
  • 31a4b8412a Split kernel_main into early (hw) init and main() Mark 2020-02-07 13:19:29 +02:00
  • b44645900d Added an option to mount filesystems synchronously Mark 2020-02-07 12:54:50 +02:00
  • 3e392687a5 Add block-layer cache support Mark 2020-02-07 12:17:44 +02:00
  • 827c259930 Add memory information in sysfs Mark 2020-02-05 18:14:12 +02:00
  • 16175ac4fc Also dump BARs in sysfs PCI config Mark 2020-02-05 17:52:39 +02:00
  • b345f51c2a Update PCI with new cherry-picked commit (sysfs) Mark 2020-02-05 17:00:51 +02:00
  • 5eb8229473 Add file modes to sysfs, add stat() to sysfs Mark 2020-01-27 13:12:12 +02:00
  • 1164272a06 Add simple set of sysfs entries for PCI information Mark 2020-02-05 16:50:26 +02:00
  • c322607d31 Lower output level for PCI driver Mark 2020-02-05 16:38:27 +02:00
  • a21dbbc468 Add support (partial, no caps, no MSI) for legacy PCI configuration Mark 2020-02-05 16:25:59 +02:00
  • 7dd452b239 Uncomment removed code Mark 2020-02-05 13:46:23 +02:00
  • bdcf1e6eee Add MIT license in case someone wants (lol) to use it Mark 2020-02-05 13:40:40 +02:00
  • 41ae3d7aab Fix ring reader ignoring signals and unqueuing threads twice Mark 2020-02-05 13:28:11 +02:00
  • 533bc8567a Add linked list structure Mark 2020-02-05 11:38:13 +02:00
  • fc837b97d8 Only use spinlocks in SMP scenario Mark 2020-02-05 10:39:00 +02:00
  • bdab682a99 Notify ring reader when control character is written to ring Mark 2020-02-05 10:36:31 +02:00
  • 33ad8e3ee3 Fix scheduler lock not being released when handling signals Mark 2020-02-04 23:37:57 +02:00
  • 3542b73f1a SMP kinda works, fixed malloc race condition Mark 2020-02-04 14:16:16 +02:00
  • d9595c7f62 Change project structure Mark 2020-02-04 12:45:15 +02:00
  • b60ae9eebd Backport VESA driver Mark 2020-02-03 13:43:02 +02:00
  • 51d27f5f8c Add GCC/binutils patches Mark 2020-02-03 15:22:46 +02:00
  • 897bf87843 Add power button handler (and test SCI) for ACPI Mark 2020-02-03 15:00:40 +02:00
  • 9cc94a4d81 Add legacy PCI configuration space reading for ACPICA compat Mark 2020-02-03 14:31:14 +02:00
  • b6d2cfb9b3 Better cleanup of dead threads Mark 2020-02-03 13:59:00 +02:00
  • 32f51f53f0 Backport USB driver + UHCI Mark 2020-02-03 13:40:03 +02:00
  • e342c62882 Thread cleanup stub Mark 2020-02-03 13:24:52 +02:00
  • 68a7241a87 reboot() system call Mark 2020-02-03 13:10:46 +02:00
  • fbdb44b71d Backport ext2 Mark 2020-02-03 12:56:53 +02:00
  • bd023a1873 Console cursor Mark 2020-02-03 12:49:57 +02:00
  • 818e3d8825 Thread names Mark 2020-02-03 12:47:28 +02:00
  • 14805828b5 Backport sysfs and random Mark 2020-02-03 12:39:53 +02:00
  • 4269177c1a execve() arguments Mark 2020-02-03 12:27:46 +02:00
  • 086447914b brk() and readdir() system calls Mark 2020-02-03 12:16:25 +02:00