467 Commits

Author SHA1 Message Date
Matheus facd03f2e8 tools: basic init 2023-06-26 23:36:38 -03:00
Matheus a193516bbf syscalls: fcntl 2023-06-26 23:19:01 -03:00
Matheus 265d12f6b2 file: fd duping and related syscalls 2023-06-26 23:18:49 -03:00
Matheus e9f5dab300 file: move O_* declarations from open.c to kernel/file.h 2023-06-26 23:18:27 -03:00
Matheus 7d6e0885d3 open: O_DIRECTORY and O_CREAT support 2023-06-26 22:19:25 -03:00
Matheus c1dc6fd745 elf: fix rounding issue 2023-06-26 22:18:49 -03:00
Matheus 9bdbdb9378 syscalls: getdents syscall 2023-06-26 21:32:39 -03:00
Matheus 3b2b8201f6 stat: fix mode 2023-06-26 21:31:15 -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 fef149ca55 vfs: redo vnode locking 2023-06-15 19:57:56 -03:00
Matheus 851385fbff kernel: munmap syscall 2023-06-12 23:11:59 -03:00
Matheus 320366586c syscalls: waitpid 2023-06-12 21:15:21 -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 1c93fd89e2 coreutils port 2023-05-29 09:25:06 -03:00
Matheus 0f4322b360 kernel: execve syscall 2023-05-29 07:51:45 -03:00
Matheus 0afbff3881 kernel: fork syscall 2023-05-16 19:42:18 -03:00
Matheus 96bb14c88a scheduler: bash login shell 2023-05-14 11:08:54 -03:00
Matheus cabd9d7e4b kernel: stat syscall family 2023-05-13 23:14:26 -03:00
Matheus 55967dacfb kernel: remove open flag assert 2023-05-13 22:30:11 -03:00
Matheus 220416e16f kernel: default print to e9 2023-05-13 22:29:54 -03:00
Matheus 0e0c538b15 scheduler: assign pids and tids 2023-05-13 22:29:35 -03:00
Matheus 4cc16b8462 kernel: getpid syscall 2023-05-13 22:27:53 -03:00
Matheus cbb7c7544f read: fix file offset 2023-05-13 21:13:32 -03:00
Matheus af2459a042 scheduler: init stdin, stdout and stderr 2023-05-13 21:13:20 -03:00
Matheus 18bea63d1c kernel: write syscall 2023-05-13 21:12:09 -03:00
Matheus eb6edee82f kernel: close syscall 2023-05-10 20:43:51 -03:00
Matheus f985051d87 mmap: do MAP_FIXED 2023-05-10 20:38:15 -03:00
Matheus 28db87fae9 kernel: seek syscall 2023-05-10 20:37:38 -03:00
Matheus 40caded8ae kernel: read syscall 2023-05-10 20:14:27 -03:00
Matheus cfdab9598d scheduler: getcwd, getroot, and initialise process cwd and root to vfsroot 2023-05-09 23:25:56 -03:00
Matheus 4cfb83f4fe syscall: openat 2023-05-09 23:25:29 -03:00
Matheus e785da6cb3 kernel: file_t, fd_t and a few helper functions 2023-05-09 00:13:51 -03:00
Matheus 43e6623a42 kernel: mmap syscall 2023-05-08 22:17:17 -03:00
Matheus 1cb49908e2 elf: lazy allocate some parts of the executables 2023-05-08 20:06:49 -03:00
Matheus a49e6358be scheduler: load init with interpreter 2023-05-07 22:36:42 -03:00
Matheus fa97996fcc elf: fix zeroing of first loaded page, header base and stack alignment 2023-05-07 22:36:14 -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 25778838ba scheduler: runinit 2023-05-07 20:26:12 -03:00
Matheus 8c3b2f4947 kernel: syscalls 2023-05-07 20:22:51 -03:00
Matheus 75671f1ca2 interrupt: fix ipl check 2023-05-04 19:36:15 -03:00
Matheus 3987e7bca6 interrupt: split setipl into raiseipl and loweripl 2023-05-04 13:52:35 -03:00
Matheus 433155bb74 scheduler: sleeping support 2023-05-03 20:19:05 -03:00
Matheus b5d4fc07e2 scheduler: have a separate stack for yield 2023-05-03 19:11:40 -03:00
Matheus 459f1d6b92 scheduler: runqueuenext() priority checking and intstatus fix 2023-04-28 22:35:41 -03:00