Commit Graph

  • fef149ca55 vfs: redo vnode locking Matheus 2023-06-15 19:57:56 -03:00
  • 851385fbff kernel: munmap syscall Matheus 2023-06-12 23:11:59 -03:00
  • 320366586c syscalls: waitpid Matheus 2023-06-12 21:15:21 -03:00
  • 1256960e78 scheduler: fix newproc() unitialized variable Matheus 2023-06-12 21:13:33 -03:00
  • f2b76caa84 vmm: change how vmm_destroycontext is handled Matheus 2023-06-10 12:07:52 -03:00
  • 5ac1745b5f vmm: fix deadlock on new cache Matheus 2023-06-08 21:56:29 -03:00
  • b9fe4cc3b1 kernel: exit syscall Matheus 2023-05-29 10:50:13 -03:00
  • acf4a9819f reorder includes Matheus 2023-05-29 10:49:09 -03:00
  • 74924c4d11 file: cleanfile null vnode protection Matheus 2023-05-29 10:48:04 -03:00
  • 1c93fd89e2 coreutils port Matheus 2023-05-29 09:25:06 -03:00
  • 8412e71b0d mmu: destroy fixes Matheus 2023-05-29 08:59:43 -03:00
  • 0f4322b360 kernel: execve syscall Matheus 2023-05-29 07:51:45 -03:00
  • 311fd65a1c scheduler: add STACK_TOP and INTERP_BASE definitions to header Matheus 2023-05-29 07:51:16 -03:00
  • 85dc9cffdf vmm: rename DESTROY_FLAGS_NOSYNC and force hhdm mappings to use VMM_FLAGS_EXACT Matheus 2023-05-29 07:50:59 -03:00
  • 6761ca494b slab: fix indirect return object and add a debug assert define Matheus 2023-05-28 17:55:02 -03:00
  • 0afbff3881 kernel: fork syscall Matheus 2023-05-16 19:42:18 -03:00
  • 0f95ff18f0 context: CTX_RET and CTX_ERRNO macros Matheus 2023-05-16 19:36:30 -03:00
  • 29cd03313e vmm: vmm_fork, vmm_destroycontext and fix pagetable used on destroyrange Matheus 2023-05-16 19:36:06 -03:00
  • e0b2f2a582 mmu: arch_mmu_destroytable Matheus 2023-05-16 19:35:09 -03:00
  • 6f1eae6db1 file: fd_clone Matheus 2023-05-16 19:23:23 -03:00
  • 69b1ff7a70 vmm: map null hhdm page Matheus 2023-05-15 22:42:18 -03:00
  • 8e59a38e4c scheduler: thread sleep queue pointers Matheus 2023-05-15 22:38:03 -03:00
  • 96bb14c88a scheduler: bash login shell Matheus 2023-05-14 11:08:54 -03:00
  • cabd9d7e4b kernel: stat syscall family Matheus 2023-05-13 23:14:26 -03:00
  • c6f9f295ee distro files Matheus 2023-05-13 22:30:25 -03:00
  • 55967dacfb kernel: remove open flag assert Matheus 2023-05-13 22:30:11 -03:00
  • 220416e16f kernel: default print to e9 Matheus 2023-05-13 22:29:54 -03:00
  • 0e0c538b15 scheduler: assign pids and tids Matheus 2023-05-13 22:29:35 -03:00
  • df1448b443 vmm: fix mmuflagstovnodeflags Matheus 2023-05-13 22:29:18 -03:00
  • 0218e2a390 context: fix saving gs and fs Matheus 2023-05-13 22:28:55 -03:00
  • 4cc16b8462 kernel: getpid syscall Matheus 2023-05-13 22:27:53 -03:00
  • 145df46088 bash port Matheus 2023-05-13 22:12:47 -03:00
  • cbb7c7544f read: fix file offset Matheus 2023-05-13 21:13:32 -03:00
  • af2459a042 scheduler: init stdin, stdout and stderr Matheus 2023-05-13 21:13:20 -03:00
  • d8cb7b2f42 file: fd_allocate Matheus 2023-05-13 21:12:25 -03:00
  • 18bea63d1c kernel: write syscall Matheus 2023-05-13 21:12:09 -03:00
  • 34b18799a2 pmm: fix bmset type Matheus 2023-05-13 20:07:24 -03:00
  • 0b0184de76 kernel: archctl syscall Matheus 2023-05-10 21:20:31 -03:00
  • eb6edee82f kernel: close syscall Matheus 2023-05-10 20:43:51 -03:00
  • 70c5e992cc file: cleanfile Matheus 2023-05-10 20:43:36 -03:00
  • f985051d87 mmap: do MAP_FIXED Matheus 2023-05-10 20:38:15 -03:00
  • d178e0012f vmm: change kernel pf handling Matheus 2023-05-10 20:38:04 -03:00
  • 28db87fae9 kernel: seek syscall Matheus 2023-05-10 20:37:38 -03:00
  • 40caded8ae kernel: read syscall Matheus 2023-05-10 20:14:27 -03:00
  • cfdab9598d scheduler: getcwd, getroot, and initialise process cwd and root to vfsroot Matheus 2023-05-09 23:25:56 -03:00
  • 4cfb83f4fe syscall: openat Matheus 2023-05-09 23:25:29 -03:00
  • f56a0f27d7 file: fix fd_new Matheus 2023-05-09 23:22:35 -03:00
  • 71a187cc40 devfs: fix devfs_root and default NULL open and close to success Matheus 2023-05-09 23:08:39 -03:00
  • 791673b7ae vfs: vfs_close and fix order of checking on highestnodeinmp Matheus 2023-05-09 23:08:04 -03:00
  • 32772a7a9b file: change fd_new and flag converter Matheus 2023-05-09 23:07:29 -03:00
  • e785da6cb3 kernel: file_t, fd_t and a few helper functions Matheus 2023-05-09 00:13:51 -03:00
  • 8913f80a0c alloc: realloc Matheus 2023-05-09 00:04:35 -03:00
  • 43e6623a42 kernel: mmap syscall Matheus 2023-05-08 22:17:17 -03:00
  • cec3146bd5 vmm: fix lazy allocation Matheus 2023-05-08 22:16:53 -03:00
  • 1cb49908e2 elf: lazy allocate some parts of the executables Matheus 2023-05-08 20:06:49 -03:00
  • a49e6358be scheduler: load init with interpreter Matheus 2023-05-07 22:36:42 -03:00
  • 7c22b401be vmm: fix vnodeflagstommuflags Matheus 2023-05-07 22:36:30 -03:00
  • fa97996fcc elf: fix zeroing of first loaded page, header base and stack alignment Matheus 2023-05-07 22:36:14 -03:00
  • 41f3283715 recipes related to mlibc and a hello world init Matheus 2023-05-07 22:33:25 -03:00
  • 8a45b183b0 mmu: fix call to vmm_pagefault Matheus 2023-05-07 22:32:19 -03:00
  • c773d6e616 x86_64 cpu: enable SSE Matheus 2023-05-07 22:32:04 -03:00
  • 24091f6e3f slab: fix large slab deallocation Matheus 2023-05-07 21:23:22 -03:00
  • 94057abfaf kernel: print syscall Matheus 2023-05-07 20:36:58 -03:00
  • 2a0103fc46 kernel: basic elf loading Matheus 2023-05-07 20:26:21 -03:00
  • 25778838ba scheduler: runinit Matheus 2023-05-07 20:26:12 -03:00
  • 8c3b2f4947 kernel: syscalls Matheus 2023-05-07 20:22:51 -03:00
  • ca80c22f50 x86_64 cpu: syscall instruction Matheus 2023-05-07 19:31:36 -03:00
  • 9c1e92831d x86-64: switch order of user code and data segments for syscall instruction Matheus 2023-05-07 17:46:26 -03:00
  • 42b28716a4 vmm: implement newcontext() Matheus 2023-05-07 16:52:29 -03:00
  • c1fbfe9de7 x86-64: fix user context init Matheus 2023-05-07 16:49:17 -03:00
  • 9ce8bd25f5 vmm: fix getting free range at edge of spaces Matheus 2023-05-07 15:08:33 -03:00
  • 46bbf60ce8 vmm: file mapping Matheus 2023-05-06 19:28:09 -03:00
  • 8ccd0bebcb tmpfs: fix mmap Matheus 2023-05-06 19:25:48 -03:00
  • bb5c46d645 devfs: handle devices not supporting certain operations Matheus 2023-05-06 18:01:27 -03:00
  • 0ab91b26be devfs: mmap and munmap, return ENODEV rather than ENOSYS on unimplemented Matheus 2023-05-06 17:54:24 -03:00
  • 87313086a4 tmpfs: mmap and munmap Matheus 2023-05-06 17:51:10 -03:00
  • a1919e1d36 vfs: mmap and munmap Matheus 2023-05-06 17:49:50 -03:00
  • eed3b390e3 kernel: console Matheus 2023-05-04 22:48:09 -03:00
  • 0840a0c8f1 kernel: mutexes Matheus 2023-05-04 22:46:31 -03:00
  • 26e9f370b5 semaphore: disable interrupts while lock is held Matheus 2023-05-04 22:45:49 -03:00
  • c30dbc7c8f devfs: fix device not found error returned Matheus 2023-05-04 21:21:24 -03:00
  • 863b85bab6 keyboard: fix ipl Matheus 2023-05-04 21:21:01 -03:00
  • ef2d8ed00c kernel: ps2kbd Matheus 2023-05-04 19:58:24 -03:00
  • 967d7293eb ps2 fix keyboard initialisation Matheus 2023-05-04 19:58:13 -03:00
  • fc64ccb7a4 apic: ioapic set irq Matheus 2023-05-04 19:57:43 -03:00
  • 49894ed2cf keyboard: translate keycode to ascii on packet Matheus 2023-05-04 19:57:16 -03:00
  • 75671f1ca2 interrupt: fix ipl check Matheus 2023-05-04 19:36:15 -03:00
  • 5ddc944b29 keyboard: fix function prototype Matheus 2023-05-04 18:57:34 -03:00
  • bdeed524d1 apic: fix ipl Matheus 2023-05-04 18:57:26 -03:00
  • 92c39645e5 kernel: initial keyboard abstraction Matheus 2023-05-04 13:55:43 -03:00
  • 3987e7bca6 interrupt: split setipl into raiseipl and loweripl Matheus 2023-05-04 13:52:35 -03:00
  • 12ee7b5e31 semaphore: fix init macro Matheus 2023-05-04 13:44:11 -03:00
  • 26621aeac6 kernel: ps2 initialisation Matheus 2023-05-03 22:41:16 -03:00
  • fc9b0f37f2 time: timespec_diffms Matheus 2023-05-03 22:41:04 -03:00
  • 17d4200cd4 util: abs Matheus 2023-05-03 22:40:37 -03:00
  • c1c84cffbb kernel: semaphores Matheus 2023-05-03 21:07:43 -03:00
  • 433155bb74 scheduler: sleeping support Matheus 2023-05-03 20:19:05 -03:00
  • b5d4fc07e2 scheduler: have a separate stack for yield Matheus 2023-05-03 19:11:40 -03:00
  • 393e34a04e kernel: ringbuffer Matheus 2023-05-02 21:19:44 -03:00
  • 768ee865a0 kernel: pseudodevices (null, full and zero) Matheus 2023-05-01 22:05:41 -03:00