Commit Graph

323 Commits

Author SHA1 Message Date
Matheus 0358d37820 open syscall: fix error 2025-02-17 13:08:38 -03:00
Matheus 065711df33 more changes 2025-02-16 00:05:59 -03:00
Matheus 973bba5e49 fix shutdown 2025-02-08 20:26:16 -03:00
Matheus ab26020935 mmap: support MAP_FIXED_NOREPLACE 2025-02-08 20:25:28 -03:00
Matheus ec30337ce0 syscalls: fix ftruncate 2025-02-08 20:24:53 -03:00
Matheus 73929bfd57 localsocket: fix cmsg 2025-02-08 20:23:02 -03:00
Matheus d119d7123b signal: fix handling of fpu and some more small things 2025-02-08 20:16:15 -03:00
Matheus 8c42826cf1 Merge pull request #16 from Qwinci/openjdk-work
Add openjdk17 port
2025-01-13 11:46:23 -03:00
Qwinci 19789ad043 seek: take offset into account with SEEK_END 2025-01-13 16:28:21 +02:00
Qwinci 881f225b58 mmap: allow MAP_NORESERVE 2025-01-13 16:28:21 +02:00
Qwinci 589ff4f476 fcntl: stub F_SETLK/F_SETWLK 2025-01-13 16:28:21 +02:00
Qwinci 7a7ee89017 clockget: support CLOCK_MONOTONIC 2025-01-13 16:28:21 +02:00
Qwinci 4e98bcf99d elf: support loading PIE executables 2025-01-13 16:28:18 +02:00
Qwinci ae2f69d3b8 elf: add AT_EXECFN 2025-01-13 16:28:15 +02:00
Matheus 6245a3d19f kernel: add ubsan bindings, fix some UB reported by it 2024-12-31 11:20:27 -03:00
Matheus 75a24d3026 signal: put a dummy siginfo on the stack 2024-12-25 22:01:33 -03:00
Matheus 0ed09edb63 signal: return from ucontext context 2024-12-25 21:58:39 -03:00
Matheus 936180e228 signal: ucontext and a fix 2024-12-25 20:23:32 -03:00
Matheus a6c169e5e6 kernel: finish work of removing interruptible mutexes 2024-12-24 21:30:25 -03:00
Matheus 709ee55af4 interrupt: optimize 2024-12-17 22:21:10 -03:00
Matheus 3152d1bc3c topology: system cpu topology 2024-10-05 11:32:39 -03:00
Matheus fe1e24b3ea timekeeper: remove debug print 2024-10-05 11:30:55 -03:00
Matheus 8232f34493 timekeeper: ticks_per_us (mhz) -> hz 2024-10-02 21:49:05 -03:00
Matheus a2f133b346 timekeeper: try to sync base time between cpus 2024-10-02 19:43:32 -03:00
Matheus b8acbc5bcd timekeeper: redo timekeeping 2024-09-29 11:20:40 -03:00
Matheus 167a0dc2ba timer: get_timer_ticks and some more changes 2024-09-25 19:55:49 -03:00
Matheus 284d60d680 proc: fix print 2024-09-21 23:09:07 -03:00
Matheus 0bff52b41e sched: finish preparing scheduler for rewrite 2024-09-21 23:06:37 -03:00
Matheus cc6477d46d proc: separate from sched 2024-09-21 22:43:16 -03:00
Matheus 77c39fdda3 timer: remove debug print 2024-09-21 21:50:09 -03:00
Matheus 7b86742065 timer: fix time travel 2024-09-21 21:28:41 -03:00
Matheus 6d436b1a9a timer: limit 2024-09-21 19:26:21 -03:00
Matheus 710aae754e pread/pwrite: pass buffer directly 2024-09-21 17:48:02 -03:00
Matheus f1ee575ed1 vfs: use iovec_iterator for all file read and write, add vfs_read_iovec and vfs_write_iovec 2024-09-21 16:56:43 -03:00
Matheus fb2fa68752 sockets: use new iovec interface 2024-09-21 10:53:49 -03:00
Matheus 3868b667cb open: fix use of possibly null variable 2024-09-20 18:58:29 -03:00
Matheus 9015014804 recvmsg: fix return of ctrl length and flags 2024-09-19 17:24:34 -03:00
Matheus 0a7bd14049 read/write: dont copy to a buffer 2024-09-18 22:44:18 -03:00
Matheus c76b37693b vmm: allow vmm_getphysical to return a page held 2024-09-18 21:27:36 -03:00
Matheus d5a4f2a4ad vmmcache: redo how vnode locking is expected 2024-09-18 18:03:07 -03:00
Matheus a56bfd2134 scheduler: sched_reschedule_on_cpu 2024-09-17 23:23:11 -03:00
Matheus 749f945205 scheduler: slightly redo how the preemption dpc is enqueued and add a skeleton for a rescheduling ipi 2024-09-17 22:29:06 -03:00
Matheus 0fd089e79b print: add mutex for smp 2024-09-16 21:37:29 -03:00
Matheus a30f8ce5d9 interrupt: change panic message and fix id issue 2024-09-16 17:11:39 -03:00
Matheus 16b6c86a5f cpu: rename _cpu() to current_cpu() 2024-09-15 19:03:09 -03:00
Matheus 56d665d5a0 kernel: fix remaining _cpu() races 2024-09-15 18:39:59 -03:00
Matheus 32392573cc cpu: change all _cpu()->vmmctx to current_vmm_context 2024-09-15 18:07:05 -03:00
Matheus e058d62261 cpu: change _cpu()->thread calls to current_thread() to fix smp race 2024-09-15 17:47:26 -03:00
Matheus 31c7cf881c signal: add signal_returnmask and other fixes 2024-09-12 22:08:57 -03:00
Matheus cf3e58ffe1 elf: switch first and last page protection 2024-09-12 20:53:41 -03:00