Commit Graph

103 Commits

Author SHA1 Message Date
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
Matheus ef2d8ed00c kernel: ps2kbd 2023-05-04 19:58:24 -03:00
Matheus fc64ccb7a4 apic: ioapic set irq 2023-05-04 19:57:43 -03:00
Matheus 5ddc944b29 keyboard: fix function prototype 2023-05-04 18:57:34 -03:00
Matheus 92c39645e5 kernel: initial keyboard abstraction 2023-05-04 13:55:43 -03:00
Matheus 3987e7bca6 interrupt: split setipl into raiseipl and loweripl 2023-05-04 13:52:35 -03:00
Matheus 12ee7b5e31 semaphore: fix init macro 2023-05-04 13:44:11 -03:00
Matheus 26621aeac6 kernel: ps2 initialisation 2023-05-03 22:41:16 -03:00
Matheus fc9b0f37f2 time: timespec_diffms 2023-05-03 22:41:04 -03:00
Matheus 17d4200cd4 util: abs 2023-05-03 22:40:37 -03:00
Matheus c1c84cffbb kernel: semaphores 2023-05-03 21:07:43 -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 393e34a04e kernel: ringbuffer 2023-05-02 21:19:44 -03:00
Matheus 768ee865a0 kernel: pseudodevices (null, full and zero) 2023-05-01 22:05:41 -03:00
Matheus b4d0d45702 tmpfs: handle devices on open 2023-05-01 21:33:02 -03:00
Matheus c80f3db385 kernel: devfs 2023-05-01 21:25:34 -03:00
Matheus 9ab2ad5095 vfs: change how the vfs_create return argument works and split the rdev vattr member 2023-05-01 19:21:39 -03:00
Matheus a30a0b1d19 cpu: remove unused header include 2023-05-01 14:14:26 -03:00
Matheus 13982e15b7 hashtable: keep track of entry count 2023-05-01 01:01:10 -03:00
Matheus ade8aa4e2b kernel: initrd unpacking 2023-05-01 00:47:01 -03:00