Commit Graph

271 Commits

Author SHA1 Message Date
Matheus 715ecb7140 Makefiles: fix several bad OBJPATHs 2022-11-21 20:20:43 -03:00
Matheus 8d8b319319 sched: handle thread death in a less hacky way 2022-11-21 20:12:47 -03:00
Matheus e550d94c91 vmm: fix request edge case in multithreaded applications 2022-11-21 20:02:01 -03:00
Matheus 33f5a3d674 pci: fix allocating enumerations and add a way to get enumerations 2022-11-21 19:59:02 -03:00
Matheus 51c6aebf35 x86_64 regs: func to get stack pointer 2022-11-20 20:13:26 -03:00
Matheus d2c89f01e6 scheduler: sched_die() and new thread state 2022-11-20 20:13:07 -03:00
Matheus fcbce08dd2 x86_64 syscall: fix comment 2022-11-20 20:12:39 -03:00
Matheus 75491f602f x86_64 interrupts: push interrupt numbers and also add an isr for #NM 2022-11-20 20:12:06 -03:00
Matheus cf3c200863 Makefile: add USE_E9 to the preprocessor flags and make the relevant files understand it 2022-11-04 16:02:29 -03:00
Matheus 62f51d638f x86_64: e9out device 2022-11-04 15:48:17 -03:00
Matheus f85f79f223 keyboard: poll 2022-10-27 18:21:46 -03:00
Matheus d64dc8f5b6 syscalls: open: fix create not being in relation to dirfd 2022-10-26 21:44:09 -03:00
Matheus 1d28e68aa2 syscalls: waitpid: fix possible null pointer dereference 2022-10-26 21:43:46 -03:00
Matheus 9dd308599b devman and vfs: check if a function is not implemented before calling 2022-10-25 19:27:47 -03:00
Matheus 8356c27239 syscalls: recvmsg and futex system calls 2022-10-24 15:44:01 -03:00
Matheus a9a15e04bf fd: have iovec be inside fd.h 2022-10-24 15:42:21 -03:00
Matheus 91a314a298 socket: add msghdr to header and fix backlog issue 2022-10-24 15:41:48 -03:00
Matheus 763ea89e83 vfs: expect fd argument to a few calls 2022-10-24 15:40:55 -03:00
Matheus 72504f3598 vmm: vmm_tophyical() 2022-10-24 15:37:37 -03:00
Matheus 6db1cfe81d sockets: expect fd argument 2022-10-24 15:36:46 -03:00
Matheus 9815b8b06d fcntl: properly handle F_SETFL now 2022-10-24 15:35:33 -03:00
Matheus d8fedecc8f fork: fix new thread's tid not being set 2022-10-24 15:35:13 -03:00
Matheus ccca596128 linkat: fix no return in successful gettarget() 2022-10-24 15:34:55 -03:00
Matheus ede9367727 poll: properly do timeouts 2022-10-24 15:34:15 -03:00
Matheus 400f9d2231 unix sockets: a bunch of bugfixes 2022-10-24 15:31:48 -03:00
Matheus 88d7818c39 framebuffer: changes to mmap and how the ioctl information is stored and accessed 2022-10-24 15:30:16 -03:00
Matheus 729b025b19 sockets: actually use socklen_t 2022-10-22 23:41:11 -03:00
Matheus f08e86bbc0 syscall: syscall logging kinda 2022-10-22 23:39:38 -03:00
Matheus 813ab0060c file mapping stub 2022-10-22 10:58:43 -03:00
Matheus 97f2f25752 unix sockets: fix address behaviour 2022-10-21 17:51:23 -03:00
Matheus 4834353501 syscalls: link at 2022-10-21 13:25:29 -03:00
Matheus 9b7235033b hashtable: fix possible bad pointer dereference 2022-10-21 13:25:14 -03:00
Matheus e2ad6e06c7 fs: link 2022-10-20 23:24:11 -03:00
Matheus 3cd7baa390 syscalls: fchmod 2022-10-20 23:23:55 -03:00
Matheus e1cd9aba0e syscalls: nanosleep stub 2022-10-20 21:41:31 -03:00
Matheus 2aaa3da856 vfs: initial symlink implementation 2022-10-20 21:05:39 -03:00
Matheus 1a48d652f5 sockets: recv 2022-10-18 13:28:06 -03:00
Matheus 2b9cdff5ba accept: fix connfd state 2022-10-18 13:27:52 -03:00
Matheus c569c7280f accept: assign SOCKET_STATE_CONNECTED to the peer 2022-10-18 12:45:54 -03:00
Matheus a1b84f9335 pipe: fix unlocking lock that is not owned 2022-10-18 12:45:38 -03:00
Matheus b9e1f85486 sockets: send 2022-10-18 12:45:16 -03:00
Matheus 4522b6c2da sockets: initial impl 2022-10-18 00:01:06 -03:00
Matheus e0953cd1b0 exit: fix deadlock 2022-10-17 20:43:20 -03:00
Matheus bfabb9f2dc panic: fix stack traces 2022-10-17 20:43:04 -03:00
Matheus 28b40a477b initrd: unallocate as files are dumped 2022-10-17 15:15:09 -03:00
Matheus 3d6098f9a9 filesystems: fix checks for file existance 2022-10-17 15:04:24 -03:00
Matheus 7aa645fd7b vfs: add current time to new node's structs 2022-10-17 14:47:42 -03:00
Matheus ef782edab2 syscalls: clock_get 2022-10-17 14:29:29 -03:00
Matheus 89e5c99828 timekeeper: initial implementation 2022-10-17 11:08:22 -03:00
Matheus e1ed026ca9 hpet: get_counter and get_ticksperus 2022-10-17 11:08:05 -03:00