Commit Graph

439 Commits

Author SHA1 Message Date
Matheus e9d53ef62d update flanterm 2024-04-21 21:08:09 -03:00
Matheus a8bdb6e1ad x86-64: properly set up x87 state 2024-04-21 20:17:18 -03:00
Matheus 899186ea85 syscall log: log number of free physical pages before and after every system call 2024-04-21 20:16:38 -03:00
Matheus f827163056 munmap: fix memory leak 2024-04-21 20:16:01 -03:00
Matheus 43b08f12c4 keyboard: do poll_event 2024-04-20 21:24:07 -03:00
Matheus 5f4513794f localsocket: datacount 2024-04-20 15:47:58 -03:00
Matheus c829ebbb1b poll syscall: fix return from wait 2024-04-20 15:47:46 -03:00
Matheus d5421608bb vmm: acqure space mutex in page fault handler 2024-04-20 15:47:30 -03:00
Matheus 257eddc9d5 poll: fix deadlock 2024-04-20 15:47:00 -03:00
Matheus d10de37498 mouse: fix deadlock 2024-04-20 15:46:33 -03:00
Matheus 65ca92b3a3 vfs: add assert 2024-04-20 15:45:46 -03:00
Matheus e9ea25fa07 sockfs: FIONREAD ioctl 2024-04-20 15:45:36 -03:00
Matheus 2b917c539d vfs: on vfs_lookup, return ENOENT if pathlen is 0 and we are looking for the parent 2024-04-20 10:28:10 -03:00
Matheus c9d79f69c6 fb: FBIOBLANK and FBIOPUT_VSCREENINFO stub 2024-04-20 10:27:16 -03:00
Matheus 29909e0de6 localsocket: fix backlog stuff 2024-04-20 10:26:51 -03:00
Matheus 79a178642c syscalls: random fixes 2024-04-20 10:26:00 -03:00
Matheus 4071613b17 ext2: stub rename 2024-04-20 10:25:01 -03:00
Matheus 0d9bc729de syscall log: fix accept arguments 2024-04-20 10:24:46 -03:00
Matheus 7f297728fb ps2 mouse 2024-04-14 22:22:32 -03:00
Matheus b512cfdb91 poll: fix interrupted sleep 2024-04-14 19:13:12 -03:00
Matheus f8621bacc2 newthread: fix tid and runningthreadcount 2024-04-14 19:11:39 -03:00
Matheus 06629f3088 vmm: vmm_getphysical() 2024-04-14 19:11:15 -03:00
Matheus c16e9517c4 hook new syscalls to mlibc 2024-04-14 19:10:49 -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 9e4dbfb22b localsocket: remove some printfs 2024-04-13 21:07:17 -03:00
Matheus 77105115f9 local sockets: initial implementation 2024-04-13 21:00:10 -03:00
Matheus 2a0a32cfa3 udp: fix poll 2024-04-13 20:59:44 -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 190e14e7eb arp: fix lookup locking 2024-04-11 21:10:32 -03:00
Matheus 4a15120f7a net: remove doarp flag from netdev 2024-04-10 19:53:42 -03:00
Matheus 231eb98375 arp: handle replies 2024-04-10 19:53:24 -03:00
Matheus 662e010925 socket: move pollheader init from sockfs to socket 2024-04-10 19:52:20 -03:00
Matheus a79b6240ed net: loopback device 2024-04-09 22:24:13 -03:00
Matheus 8a66c6a12b arp: fix cache timeout 2024-04-07 23:44:25 -03:00
Matheus dbb5ff27fd socket: SIOCSIFADDR ioctl 2024-04-07 23:40:51 -03:00
Matheus bba08c0b3e socket: SIOCADDRT ioctl 2024-04-07 21:44:07 -03:00
Matheus 989621840e sock: check if hdr->addr should actually be free()'d 2024-04-07 21:43:25 -03:00
Matheus 6b5d9b9715 udp: poll 2024-04-07 21:41:43 -03:00
Matheus 9c4fe1a594 syscall: multiple syscalls related to sockets 2024-04-07 16:40:02 -03:00
Matheus 1ee2013600 udp: socket implementation 2024-04-07 16:39:20 -03:00
Matheus d49de825cc socket: initial implementation 2024-04-07 16:38:30 -03:00