Commit Graph

275 Commits

Author SHA1 Message Date
Matheus 4d51507953 auth: initial implementation + some filesystem checks 2024-08-24 20:01:01 -03:00
Matheus 679aa1a69d cpu: handle SIGFPE 2024-08-21 23:48:54 -03:00
Matheus ad6fb43623 syscalls: mprotect 2024-08-21 21:34:26 -03:00
Matheus dd75dc2d87 vmm: vmm_changemmuflags 2024-08-21 21:33:29 -03:00
Matheus da9c40b054 cred: setting and getting ids 2024-08-16 20:02:12 -03:00
Matheus b6ed9c1bac syscalls: mknodat 2024-08-11 14:45:10 -03:00
Matheus f6446669b0 hpet: initial 32 bit support 2024-07-27 23:58:09 -03:00
Matheus ec5be70f85 apic: fix i/o apic override gsi 2024-07-27 23:57:41 -03:00
Matheus cbc3fc645e acpi: don't rely on acpi tables being mapped 2024-07-27 23:57:24 -03:00
Matheus e675f1c152 vmm/mmu: be more selective on which parts of the physical memory to map initially 2024-07-27 23:56:38 -03:00
Matheus 4cd2a7b41c ps2: fix real hw 2024-07-11 00:05:42 -03:00
Matheus bb1fe2b4dc ps2kbd: actually enable data reporting 2024-07-10 20:55:46 -03:00
Matheus 82877b1cce ps2mouse: remove non fatal assert 2024-07-10 19:46:02 -03:00
Matheus e06018ee71 smp: zero new processors cpu structs on allocation 2024-07-10 19:45:41 -03:00
Matheus 9f48a87ae8 syscalls: pread and pwrite 2024-06-23 20:21:29 -03:00
Matheus f82b07328a syscalls: ppoll 2024-06-19 21:56:26 -03:00
Matheus e4ec9311e2 syscalls: pause 2024-06-14 17:05:31 -03:00
Matheus 3e82c6a8f0 x86_64: make interrupt entry code smaller 2024-06-12 18:28:08 -03:00
Matheus 797f2c118a x86_64: properly set kernel data segments on syscall/interrupt entry 2024-06-12 18:22:30 -03:00
Matheus 50b4b45d00 kernel: usercopy functions 2024-06-09 19:31:26 -03:00
Matheus b607ca7f4b syscalls: chroot getpeername getsockname socketpair 2024-06-04 22:45:04 -03:00
Matheus 7cad8f53f2 tcp: initial implementation 2024-06-03 22:02:58 -03:00
Matheus 5f7791cd08 syscalls: fchdir, setitimer, getitimer 2024-05-29 11:14:07 -03:00
Matheus c81bdac897 signals: handle SIGBUS, SIGSEGV, SIGILL etc 2024-05-29 11:06:15 -03:00
Matheus 54c01081cc mmu: don't do an nmi 2024-05-27 22:02:45 -03:00
Matheus d2527bee92 context changes and scheduler userspace check fix 2024-05-27 22:00:59 -03:00
Matheus 8d42b80855 smp: nmi ipi support 2024-05-26 20:51:54 -03:00
Matheus 61fa847b65 vfs: support for uncached read/write 2024-05-26 15:31:26 -03:00
Matheus 3bcc3e5585 fixes 2024-05-25 20:35:19 -03:00
Matheus b9071fe59e syscalls: fsync 2024-05-25 12:04:29 -03:00
Matheus 642e245522 syscalls: sync 2024-05-24 22:01:11 -03:00
Matheus 48b7fb4324 vmmcache: initial implementation 2024-05-24 18:03:24 -03:00
Matheus 78492d4b56 handle /etc/hostname, sethostname(2), gethostname(2) and uname(2) 2024-05-22 21:09:17 -03:00
Matheus 1b63e9b436 signals: more general changes 2024-05-17 18:48:57 -03:00
Matheus 7b0cc4c51b initial signal implementation 2024-05-14 15:04:48 -03:00
Matheus 33c8a4d107 pty: initial implementation 2024-05-03 14:03:41 -03:00
Matheus 05049a091f job control: sessions and process groups 2024-05-01 21:42:38 -03:00
Matheus 27d24f3e20 cpu: dont access cpu local storage using rdmsr 2024-04-29 21:26:47 -03:00
Matheus 43b209666f mmu: don't do tlb shootdowns if no other cpus are online 2024-04-29 21:26:13 -03:00
Matheus 6b16089a9f main: add tty_init() 2024-04-28 18:46:02 -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 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 c16e9517c4 hook new syscalls to mlibc 2024-04-14 19:10: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 5197cdba2a syscalls: accept connect listen 2024-04-13 20:58:03 -03:00
Matheus a79b6240ed net: loopback device 2024-04-09 22:24:13 -03:00
Matheus 9c4fe1a594 syscall: multiple syscalls related to sockets 2024-04-07 16:40:02 -03:00