Commit Graph

192 Commits

Author SHA1 Message Date
Matheus 8412e71b0d mmu: destroy fixes 2023-05-29 08:59:43 -03:00
Matheus 0f4322b360 kernel: execve syscall 2023-05-29 07:51:45 -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 6761ca494b slab: fix indirect return object and add a debug assert define 2023-05-28 17:55:02 -03:00
Matheus 0afbff3881 kernel: fork syscall 2023-05-16 19:42:18 -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 69b1ff7a70 vmm: map null hhdm page 2023-05-15 22:42:18 -03:00
Matheus 8e59a38e4c scheduler: thread sleep queue pointers 2023-05-15 22:38:03 -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 c6f9f295ee distro files 2023-05-13 22:30:25 -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 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 4cc16b8462 kernel: getpid syscall 2023-05-13 22:27:53 -03:00
Matheus 145df46088 bash port 2023-05-13 22:12:47 -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 d8cb7b2f42 file: fd_allocate 2023-05-13 21:12:25 -03:00
Matheus 18bea63d1c kernel: write syscall 2023-05-13 21:12:09 -03:00
Matheus 34b18799a2 pmm: fix bmset type 2023-05-13 20:07:24 -03:00
Matheus 0b0184de76 kernel: archctl syscall 2023-05-10 21:20:31 -03:00
Matheus eb6edee82f kernel: close syscall 2023-05-10 20:43:51 -03:00
Matheus 70c5e992cc file: cleanfile 2023-05-10 20:43:36 -03:00
Matheus f985051d87 mmap: do MAP_FIXED 2023-05-10 20:38:15 -03:00
Matheus d178e0012f vmm: change kernel pf handling 2023-05-10 20:38:04 -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 f56a0f27d7 file: fix fd_new 2023-05-09 23:22:35 -03:00
Matheus 71a187cc40 devfs: fix devfs_root and default NULL open and close to success 2023-05-09 23:08:39 -03:00
Matheus 791673b7ae vfs: vfs_close and fix order of checking on highestnodeinmp 2023-05-09 23:08:09 -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 cec3146bd5 vmm: fix lazy allocation 2023-05-08 22:16:53 -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 7c22b401be vmm: fix vnodeflagstommuflags 2023-05-07 22:36:30 -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 41f3283715 recipes related to mlibc and a hello world init 2023-05-07 22:33:37 -03:00
Matheus 8a45b183b0 mmu: fix call to vmm_pagefault 2023-05-07 22:32:19 -03:00