Commit Graph

111 Commits

Author SHA1 Message Date
Matheus 6a8abf28a8 ringbuffer: datacount function 2023-01-08 19:29:17 -03:00
Matheus b405e35fe7 pmm: add macros related to the HHDM 2023-01-08 19:26:28 -03:00
Matheus b980ab94c2 generic mouse interface 2023-01-05 23:29:03 -03:00
Matheus fc097489a1 assert.h: inital implementation 2023-01-05 22:57:36 -03:00
Matheus 78362d9a0a time.h: difference in ms 2023-01-05 19:38:41 -03:00
Matheus adbf3d0353 math.h: long absolute 2023-01-05 19:37:46 -03:00
Matheus a5c2f96ce1 stdio: sprintf 2023-01-02 16:18:52 -03:00
Matheus 814ee1f69a scheduler: dequeue takes a state argument and releases a threadexit lock 2022-12-31 19:52:19 -03:00
Matheus 5ea50fee28 sched: use THREAD_DEFAULT_KSTACK_SIZE rather than hardcoding 10*PAGE_SIZE 2022-12-31 01:12:13 -03:00
Matheus 6d073b850e kernel: commandline support 2022-12-30 03:28:30 -03:00
Matheus 23f2ef05b9 kernel: env support 2022-12-30 03:28:06 -03:00
Matheus bc7906bde4 hashtables: isset() 2022-12-30 03:26:57 -03:00
Matheus 7e975a3837 add a function that gets called after every system call and make all threads quit on program exit 2022-12-25 15:46:37 -03:00
Matheus 30dd3d6ca3 ustring: more functions 2022-12-15 09:22:32 -03:00
Matheus ce474c670b vmm: dealwithrequest returns an errno rather than a bool 2022-12-13 23:43:26 -03:00
Matheus c17a2f4c6c kernel: user safe strlen 2022-12-13 23:41:40 -03:00
Matheus b64edd7765 math.h: intpow 2022-11-24 18:27:37 -03:00
Matheus 8d8b319319 sched: handle thread death in a less hacky way 2022-11-21 20:12:47 -03:00
Matheus d2c89f01e6 scheduler: sched_die() and new thread state 2022-11-20 20:13:07 -03:00
Matheus 62f51d638f x86_64: e9out device 2022-11-04 15:48:17 -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 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