Commit Graph

1271 Commits

Author SHA1 Message Date
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 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 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 8a45b183b0 mmu: fix call to vmm_pagefault 2023-05-07 22:32:19 -03:00
Matheus c773d6e616 x86_64 cpu: enable SSE 2023-05-07 22:32:04 -03:00
Matheus 24091f6e3f slab: fix large slab deallocation 2023-05-07 21:23:22 -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 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 42b28716a4 vmm: implement newcontext() 2023-05-07 16:52:29 -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 8ccd0bebcb tmpfs: fix mmap 2023-05-06 19:26:27 -03:00
Matheus bb5c46d645 devfs: handle devices not supporting certain operations 2023-05-06 18:01:27 -03:00
Matheus 0ab91b26be devfs: mmap and munmap, return ENODEV rather than ENOSYS on unimplemented 2023-05-06 17:54:24 -03:00
Matheus 87313086a4 tmpfs: mmap and munmap 2023-05-06 17:51:10 -03:00