Commit Graph

123 Commits

Author SHA1 Message Date
Matheus 3910646494 file: fileflagstovnodeflags O_NONBLOCK -> V_FFLAGS_NONBLOCKING support 2023-07-05 00:04:23 -03:00
Matheus 04a5aa4bc6 syscalls: isatty 2023-07-04 20:19:15 -03:00
Matheus 51446cdd37 kernel: pipefs 2023-07-03 23:01:32 -03:00
Matheus 42b130bfe0 kernel: new event abstraction 2023-07-03 22:56:23 -03:00
Matheus 032560bda0 file: redo locking 2023-07-03 22:51:53 -03:00
Matheus de3d23948b x86-64 context: fix identation on ARCH_CONTEXT_INTSTATUS macro 2023-07-03 22:41:18 -03:00
Matheus 02b3d5696b semaphore: haswaiters and redo how threads are attached 2023-07-03 22:40:44 -03:00
Matheus df84a3f5f0 stat: fix rdev 2023-06-27 20:22:09 -03:00
Matheus 0185572afc interrupts: IPL_IGNORE which doesn't raise nor lower the IPL on an interrupt 2023-06-27 20:03:57 -03:00
Matheus 98fc4eb23d file: FDTABLE_LIMIT 2023-06-27 19:54:33 -03:00
Matheus 7e7504cde7 scheduler: sched_setroot and sched_setcwd 2023-06-27 19:34:45 -03:00
Matheus e9f5dab300 file: move O_* declarations from open.c to kernel/file.h 2023-06-26 23:18:27 -03:00
Matheus 9bdbdb9378 syscalls: getdents syscall 2023-06-26 21:32:39 -03:00
Matheus e3bc7e8b8b timers: use DPCs to handle callbacks 2023-06-26 19:46:30 -03:00
Matheus 99a7eccbe4 kernel: DPC support 2023-06-25 21:00:14 -03:00
Matheus 135b9d8009 interrupts: interrupt_raise 2023-06-25 19:56:33 -03:00
Matheus 80671b6e11 interrupts: execute pending interrupts 2023-06-25 16:00:08 -03:00
Matheus 1256960e78 scheduler: fix newproc() unitialized variable 2023-06-12 21:13:55 -03:00
Matheus f2b76caa84 vmm: change how vmm_destroycontext is handled 2023-06-10 12:09:46 -03:00
Matheus b9fe4cc3b1 kernel: exit syscall 2023-05-30 10:32:58 -03:00
Matheus acf4a9819f reorder includes 2023-05-29 10:49:09 -03:00
Matheus 311fd65a1c scheduler: add STACK_TOP and INTERP_BASE definitions to header 2023-05-29 07:51:16 -03:00
Matheus 85dc9cffdf vmm: rename DESTROY_FLAGS_NOSYNC and force hhdm mappings to use VMM_FLAGS_EXACT 2023-05-29 07:50:59 -03:00
Matheus 0f95ff18f0 context: CTX_RET and CTX_ERRNO macros 2023-05-16 19:36:30 -03:00
Matheus 29cd03313e vmm: vmm_fork, vmm_destroycontext and fix pagetable used on destroyrange 2023-05-16 19:36:06 -03:00
Matheus e0b2f2a582 mmu: arch_mmu_destroytable 2023-05-16 19:35:09 -03:00
Matheus 6f1eae6db1 file: fd_clone 2023-05-16 19:23:31 -03:00
Matheus 8e59a38e4c scheduler: thread sleep queue pointers 2023-05-15 22:38:03 -03:00
Matheus cabd9d7e4b kernel: stat syscall family 2023-05-13 23:14:26 -03:00
Matheus df1448b443 vmm: fix mmuflagstovnodeflags 2023-05-13 22:29:18 -03:00
Matheus 0218e2a390 context: fix saving gs and fs 2023-05-13 22:28:55 -03:00
Matheus d8cb7b2f42 file: fd_allocate 2023-05-13 21:12:25 -03:00
Matheus cfdab9598d scheduler: getcwd, getroot, and initialise process cwd and root to vfsroot 2023-05-09 23:25:56 -03:00
Matheus 32772a7a9b file: change fd_new and flag converter 2023-05-09 23:07:29 -03:00
Matheus e785da6cb3 kernel: file_t, fd_t and a few helper functions 2023-05-09 00:13:51 -03:00
Matheus 8913f80a0c alloc: realloc 2023-05-09 00:05:47 -03:00
Matheus 43e6623a42 kernel: mmap syscall 2023-05-08 22:17:17 -03:00
Matheus 7c22b401be vmm: fix vnodeflagstommuflags 2023-05-07 22:36:30 -03:00
Matheus 94057abfaf kernel: print syscall 2023-05-07 20:36:58 -03:00
Matheus 2a0103fc46 kernel: basic elf loading 2023-05-07 20:26:21 -03:00
Matheus 8c3b2f4947 kernel: syscalls 2023-05-07 20:22:51 -03:00
Matheus ca80c22f50 x86_64 cpu: syscall instruction 2023-05-07 19:31:36 -03:00
Matheus 9c1e92831d x86-64: switch order of user code and data segments for syscall instruction 2023-05-07 17:46:26 -03:00
Matheus c1fbfe9de7 x86-64: fix user context init 2023-05-07 16:49:17 -03:00
Matheus 9ce8bd25f5 vmm: fix getting free range at edge of spaces 2023-05-07 15:08:33 -03:00
Matheus 46bbf60ce8 vmm: file mapping 2023-05-06 19:28:09 -03:00
Matheus 87313086a4 tmpfs: mmap and munmap 2023-05-06 17:51:10 -03:00
Matheus a1919e1d36 vfs: mmap and munmap 2023-05-06 17:49:50 -03:00
Matheus eed3b390e3 kernel: console 2023-05-04 22:50:53 -03:00
Matheus 0840a0c8f1 kernel: mutexes 2023-05-04 22:46:31 -03:00