Commit Graph

143 Commits

Author SHA1 Message Date
Matheus f8621bacc2 newthread: fix tid and runningthreadcount 2024-04-14 19:11:39 -03:00
Matheus 47910a616f syscalls: gettid 2024-04-14 19:09:58 -03:00
Matheus 82151cf1d2 syscalls: futex 2024-04-14 19:09:49 -03:00
Matheus 6d04deeac9 kernel: expose threads to userspace (newthread and threadexit syscalls) 2024-04-14 16:12:52 -03:00
Matheus 2cb94c2c2e scheduler: handle userland thread exit 2024-04-14 14:00:11 -03:00
Matheus d33ef16f87 scheduler: sched_stopotherthreads() 2024-04-14 13:21:54 -03:00
Matheus d3b17b90b9 exit syscall: stop other threads 2024-04-14 13:12:28 -03:00
Matheus 55f407da08 scheduler: handle interruptions in sched_yield() when sleeping as to prevent lost wakeup 2024-04-14 12:42:43 -03:00
Matheus f19f784694 poll: fix interruptible sleep 2024-04-14 12:06:08 -03:00
Matheus 016003e7c8 timer: fix use of zero'd memory 2024-04-13 20:59:25 -03:00
Matheus db13d23155 elf: instead of an assert fail, return EACCES 2024-04-13 20:58:33 -03:00
Matheus 5197cdba2a syscalls: accept connect listen 2024-04-13 20:58:03 -03:00
Matheus 9c4fe1a594 syscall: multiple syscalls related to sockets 2024-04-07 16:40:02 -03:00
Matheus a8487d01e8 poll syscall: fix an issue where files would be able to be closed while a thread was waiting 2024-04-07 16:35:21 -03:00
Matheus 52ab80bc9a scheduler: better define wakeup reasons 2024-03-30 18:39:26 -03:00
Matheus 84c20586c2 timer: fix an issue related to removing entries 2024-03-30 18:38:46 -03:00
Matheus 57c94ebf15 smp: let other processors run threads 2023-11-30 17:54:32 -03:00
Matheus 1b7e671a6d interrupt: fix issue with do pending 2023-11-30 17:50:54 -03:00
Matheus 6d8c0c30cf scheduler: sched_usleep 2023-10-15 20:58:10 -03:00
Matheus 98643cb17f timer: support 0 tick difference 2023-10-01 19:33:43 -03:00
Matheus 9519e4c67a poll: init changes 2023-09-30 12:48:55 -03:00
Matheus 257ac5413c fcntl: fix file flags 2023-09-17 01:32:20 -03:00
Matheus ac0961c9a6 kernel: rename VOP and syscall 2023-09-17 01:31:40 -03:00
Matheus 15a26b5af5 write syscall: support O_APPEND 2023-09-09 13:29:14 -03:00
Matheus 09bfc5cde4 waitpid syscall: fix status 2023-09-09 13:28:57 -03:00
Matheus 22e345b038 utimensat syscall: fix null dereference 2023-09-09 13:28:35 -03:00
Matheus b9e7c8a039 poll: support 0 nfds 2023-09-09 00:30:56 -03:00
Matheus fe303aec69 devfs: maxseek 2023-09-09 00:30:43 -03:00
Matheus 712aa9fbc0 kernel: utime syscall 2023-09-07 15:47:11 -03:00
Matheus 52d57f64d7 kernel: fchownat syscall 2023-09-07 15:47:02 -03:00
Matheus 2cf201746a scheduler: fix use of non zero'd memory 2023-08-12 23:10:22 -03:00
Matheus c33078b9c2 kernel: misc stuff 2023-08-08 21:21:06 -03:00
Matheus c42c1d2e24 elf: add buffer at the top of stack 2023-08-07 20:01:53 -03:00
Matheus dcaa20ae9c mount syscall and simple mount program 2023-07-26 00:20:45 -03:00
Matheus 755fd1a8d1 scheduler: don't depend on devfs being mounted 2023-07-26 00:17:29 -03:00
Matheus ddaf8b2efd kernel: cmdline parsing 2023-07-26 00:15:40 -03:00
Matheus c1aa09eade kernel: misc fixes 2023-07-25 19:02:59 -03:00
Matheus cb235ae3cc mmap: fix file mappings 2023-07-25 18:42:12 -03:00
Matheus df89cc1c63 open: fix no out of memory check 2023-07-23 00:58:10 -03:00
Matheus ac8cdfb2f3 scheduler: add yield after halt in cpuidlethread 2023-07-20 14:24:52 -03:00
Matheus 2c058a56e6 kernel: random fixes on syscalls and pmm 2023-07-11 23:01:52 -03:00
Matheus 1b7fb2b852 poll: fix memory leak 2023-07-11 23:01:08 -03:00
Matheus 2c62b1a7d8 mmap: properly support files 2023-07-10 21:16:40 -03:00
Matheus 1259684ccf syscalls: ftruncate 2023-07-09 20:48:28 -03:00
Matheus 7a0bd0747e vfs: VOP_RESIZE 2023-07-09 20:47:28 -03:00
Matheus b2f50939e7 syscalls: nanosleep 2023-07-09 19:41:05 -03:00
Matheus 4793f61708 kernel: syscall, console and keyboard fixes 2023-07-09 18:12:38 -03:00
Matheus 2398dd9b80 poll: timeout 2023-07-09 18:11:53 -03:00
Matheus e1776a71e5 timer: timer_remove 2023-07-09 18:10:31 -03:00
Matheus e4d2b8f657 scheduler: cpu target 2023-07-09 12:00:29 -03:00