Commit Graph

350 Commits

Author SHA1 Message Date
Matheus 9519e4c67a poll: init changes 2023-09-30 12:48:55 -03:00
Matheus 257ac5413c fcntl: fix file flags 2023-09-17 01:32:20 -03:00
Matheus 14aca89361 hashtable: fix linked list 2023-09-17 01:31:55 -03:00
Matheus ac0961c9a6 kernel: rename VOP and syscall 2023-09-17 01:31:40 -03:00
Matheus e07ebc52b9 block: zero kernel addresses on ioctl 2023-09-09 13:30:08 -03:00
Matheus 15a26b5af5 write syscall: support O_APPEND 2023-09-09 13:29:14 -03:00
Matheus 09bfc5cde4 waitpid syscall: fix status 2023-09-09 13:28:57 -03:00
Matheus 22e345b038 utimensat syscall: fix null dereference 2023-09-09 13:28:35 -03:00
Matheus 63a051dd30 x86-64 syscall: fix very specific triple fault 2023-09-09 13:28:04 -03:00
Matheus b9e7c8a039 poll: support 0 nfds 2023-09-09 00:30:56 -03:00
Matheus fe303aec69 devfs: maxseek 2023-09-09 00:30:43 -03:00
Matheus a83a561094 syscall logging: fix utimensat logging 2023-09-09 00:28:31 -03:00
Matheus cb8324b070 kernel: add e9 device for debugging 2023-09-07 15:59:58 -03:00
Matheus 35fe8f2d6b pipefs: add proper poll support 2023-09-07 15:49:42 -03:00
Matheus 832deafb60 ports: add working xz patch 2023-09-07 15:49:25 -03:00
Matheus 1520bb4e01 kernel: hook new system calls to userland 2023-09-07 15:48:04 -03:00
Matheus 712aa9fbc0 kernel: utime syscall 2023-09-07 15:47:11 -03:00
Matheus 52d57f64d7 kernel: fchownat syscall 2023-09-07 15:47:02 -03:00
Matheus ff2e6fa964 time: fix diff 2023-08-16 20:55:02 -03:00
Matheus be6dfdd1fc nvme: fix set queue entry size macros 2023-08-14 20:17:37 -03:00
Matheus 2cf201746a scheduler: fix use of non zero'd memory 2023-08-12 23:10:22 -03:00
Matheus 6276eec4ba vmm: fix unmap split 2023-08-10 16:41:32 -03:00
Matheus e9e640fb83 file: properly set fdfirst 2023-08-10 16:39:14 -03:00
Matheus c33078b9c2 kernel: misc stuff 2023-08-08 21:21:06 -03:00
Matheus 81c6897523 block: fix typo in comment 2023-08-07 21:56:24 -03:00
Matheus 536db45418 x86_64 pci: properly map ECAM and fix access to it 2023-08-07 21:30:24 -03:00
Matheus 8793ed48b8 pci: iterate over all buses 2023-08-07 20:38:08 -03:00
Matheus bd715ac5e9 nvme: properly support versions older than 1.4 2023-08-07 20:36:01 -03:00
Matheus ff52baf4f4 kernel: move fnv1a hash from hashtable.c to util.h 2023-08-07 20:28:07 -03:00
Matheus c42c1d2e24 elf: add buffer at the top of stack 2023-08-07 20:01:53 -03:00
Matheus 5ea1479601 ps2: mix fixes 2023-08-06 00:45:19 -03:00
Matheus 25828c17c6 x86_64 acpi: map rsdp 2023-08-06 00:44:52 -03:00
Matheus 30851d4971 ports: tar and xz 2023-08-02 21:27:24 -03:00
Matheus 245da66fc3 vmm: make fork use copy-on-write 2023-08-02 19:55:53 -03:00
Matheus 5fad76e39e pipefs: fix wrong vnode type 2023-08-02 19:52:49 -03:00
Matheus 7e1443d032 vmm: copy on write and changes to how page faults are handled 2023-08-02 01:18:35 -03:00
Matheus 55fc1b7026 pmm: full rewrite
I've decided to do a rewrite on it due to some plans that would make refcounting physical pages nescessary among other things. now instead of a bitmap it uses a list of pages with each physical page having a page_t associated with it
2023-07-29 17:14:41 -03:00
Matheus 8ca2360991 vmm: add a pflock mutex to synchronize pagefaults 2023-07-26 22:47:00 -03:00
Matheus f5c5b01d85 vmm: use mutexes 2023-07-26 21:39:06 -03:00
Matheus 49eef0e04c vfs: use mutexes for locking 2023-07-26 20:29:40 -03:00
Matheus dcaa20ae9c mount syscall and simple mount program 2023-07-26 00:20:45 -03:00
Matheus 755fd1a8d1 scheduler: don't depend on devfs being mounted 2023-07-26 00:17:29 -03:00
Matheus c4bdf020f4 kernel: mount root using commandline arguments 2023-07-26 00:17:14 -03:00
Matheus ddaf8b2efd kernel: cmdline parsing 2023-07-26 00:15:40 -03:00
Matheus 294e12b360 ext2: ASSERT_UNCLEAN macro and do some TODOs 2023-07-25 19:35:48 -03:00
Matheus c1aa09eade kernel: misc fixes 2023-07-25 19:02:59 -03:00
Matheus 6653b01e23 devfs: getbyname() 2023-07-25 18:45:10 -03:00
Matheus 9d1beb2807 ext2: mmap, munmap, unlink and inactive 2023-07-25 18:44:38 -03:00
Matheus d59b7c40aa syscalllog: fix unlinkat parameters 2023-07-25 18:42:59 -03:00
Matheus cb235ae3cc mmap: fix file mappings 2023-07-25 18:42:12 -03:00