Commit Graph

87 Commits

Author SHA1 Message Date
Matheus 729b025b19 sockets: actually use socklen_t 2022-10-22 23:41:11 -03:00
Matheus 813ab0060c file mapping stub 2022-10-22 10:58:43 -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 2aaa3da856 vfs: initial symlink implementation 2022-10-20 21:05:39 -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 66d8e3b394 time: move time_t and timespec to their own includes 2022-10-17 11:07:46 -03:00
Matheus b94d37cade syscalls: fchmodat 2022-10-16 13:14:00 -03:00
Matheus a2c41882f3 pipe: fifo polling 2022-10-16 00:42:08 -03:00
Matheus 90d762b079 console: improvements 2022-10-15 17:36:42 -03:00
Matheus e883412b44 termios: a few more flags 2022-10-15 14:06:57 -03:00
Matheus 82f839f8a7 syscalls: poll 2022-10-15 14:06:34 -03:00
Matheus 36d63eb96f syscalls: umask 2022-10-12 19:04:21 -03:00
Matheus 0e4c9e17bf vmm: destroy context 2022-10-11 23:32:12 -03:00
Matheus 85bd0c0412 pipes: initial implementation 2022-10-10 10:46:27 -03:00
Matheus bbf33c1f55 keyboard: /dev/keyboard 2022-09-30 20:18:06 -03:00
Matheus a30c79d951 termios: stub 2022-09-29 18:51:51 -03:00
Matheus 91a1781ecb syscalls: ioctl 2022-09-29 18:04:07 -03:00
Matheus 943e7abf80 vfs: getdirent 2022-09-24 17:13:03 -03:00
Matheus ad8ec070be hashtable: get entry by offset 2022-09-24 17:12:31 -03:00
Matheus 1599890ce9 devman: isseekable() 2022-09-24 14:54:26 -03:00
Matheus ad768d0392 pseudodevices: initial null, zero and full implementations 2022-09-24 00:45:51 -03:00
Matheus 67c9a04d58 fd: change allocation to add a lowest fd option 2022-09-23 19:37:40 -03:00
Matheus 8f2089f912 fd: duplicate and max_fd 2022-09-23 00:25:31 -03:00
Matheus 7fc34a2e66 keyboard: continue the implementation; add shifting support 2022-09-22 14:37:27 -03:00
Matheus ddb224c3c7 scheduler: properly open init cwd and root, sched_dequeue() 2022-09-20 17:05:46 -03:00
Matheus c637995d52 syscalls: waitpid 2022-09-20 10:44:37 -03:00
Matheus 3c3dfc8f39 vmm: address space forking 2022-09-19 18:42:05 -03:00
Matheus 2ab048c322 scheduler: pid allocation, thread queueing function and a few fixes 2022-09-19 18:41:25 -03:00
Matheus ce217ea8d8 fd: table cloning func 2022-09-19 18:37:21 -03:00
Matheus 41d6e7230e fd: new abstraction 2022-09-18 16:21:45 -03:00
Matheus 2848544ff0 scheduler: a bunch of fixes and a few changes
transferred memory context from proc to thread, fixed bugs relating to blocking, made getnext() wait till something is ready to run
2022-09-09 18:18:22 -03:00
Matheus c91e3cd12d ps2kbd: initial implementation 2022-09-08 18:06:17 -03:00
Matheus 2586acc14f keyboard: stub 2022-09-07 16:11:24 -03:00
Matheus 2f691d8051 ringbuffers: initial implementation 2022-09-07 15:00:45 -03:00
Matheus 20249b07b2 Events: stub 2022-09-04 14:44:12 -03:00
Matheus 2f8c8fc8e3 ELF: don't change the cpu context 2022-09-04 14:42:59 -03:00
Matheus 56bee8be77 VFS: dot entries 2022-08-28 16:28:11 -03:00
Matheus edba446ba4 ELF: refactor loader 2022-08-27 20:27:14 -03:00
Matheus 023937809d bugfixes, change types.h to be linux abi, stat system call 2022-08-23 19:44:18 -03:00
Matheus 9c6ce452f8 /dev/console 2022-08-20 15:15:10 -03:00
Matheus f7e5b5ba67 proper limine terminal interface 2022-08-20 14:16:26 -03:00
Matheus b3b5981f7a isatty syscall 2022-08-20 12:47:23 -03:00
Matheus f04d4b5a31 page allocator for alloc() 2022-08-19 22:11:06 -03:00
Matheus 098b2f5691 open syscall 2022-08-19 20:03:38 -03:00
Matheus 1d3405ba10 file decriptors 2022-08-19 18:01:32 -03:00
Matheus 4de0ff2556 gettid syscall, fix issues with vmm and mmap syscall 2022-08-18 22:12:51 -03:00
Matheus da99da2b36 arch_ctl syscall
it controls architecture specific things such as the GSBASE in x86_64
2022-08-18 20:42:03 -03:00
Matheus 0984a6458d fix several issues relating to elf and registers and add mmap 2022-08-18 17:53:09 -03:00