Commit Graph

149 Commits

Author SHA1 Message Date
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
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 26e9f370b5 semaphore: disable interrupts while lock is held 2023-05-04 22:45:49 -03:00
Matheus c30dbc7c8f devfs: fix device not found error returned 2023-05-04 21:21:24 -03:00
Matheus 863b85bab6 keyboard: fix ipl 2023-05-04 21:21:01 -03:00
Matheus ef2d8ed00c kernel: ps2kbd 2023-05-04 19:58:24 -03:00
Matheus 967d7293eb ps2 fix keyboard initialisation 2023-05-04 19:58:13 -03:00
Matheus fc64ccb7a4 apic: ioapic set irq 2023-05-04 19:57:43 -03:00
Matheus 49894ed2cf keyboard: translate keycode to ascii on packet 2023-05-04 19:57:16 -03:00
Matheus 75671f1ca2 interrupt: fix ipl check 2023-05-04 19:36:15 -03:00
Matheus 5ddc944b29 keyboard: fix function prototype 2023-05-04 18:57:34 -03:00
Matheus bdeed524d1 apic: fix ipl 2023-05-04 18:57:26 -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