Commit Graph

64 Commits

Author SHA1 Message Date
Matheus 1bb152b446 pipefs: use poll internally rather than keeping the old events 2023-09-30 12:49:38 -03:00
Matheus ac0961c9a6 kernel: rename VOP and syscall 2023-09-17 01:31:40 -03:00
Matheus fe303aec69 devfs: maxseek 2023-09-09 00:30:43 -03:00
Matheus 35fe8f2d6b pipefs: add proper poll support 2023-09-07 15:49:42 -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 5fad76e39e pipefs: fix wrong vnode type 2023-08-02 19:52:49 -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 49eef0e04c vfs: use mutexes for locking 2023-07-26 20:29:40 -03:00
Matheus c4bdf020f4 kernel: mount root using commandline arguments 2023-07-26 00:17:14 -03:00
Matheus 294e12b360 ext2: ASSERT_UNCLEAN macro and do some TODOs 2023-07-25 19:35:48 -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 06e0c9634e ext2: link and create 2023-07-24 22:34:01 -03:00
Matheus 49682e2bf4 ext2: inode set block, inode resize, ext2_write and ext2_resize 2023-07-24 19:43:44 -03:00
Matheus 98c642c6ec ext2: change allocateblock to work with inodes and add freestructure 2023-07-23 23:44:25 -03:00
Matheus 29b5af0d52 ext2: block allocation 2023-07-23 23:09:09 -03:00
Matheus 28247888c5 ext2: readonly support 2023-07-23 14:13:02 -03:00
Matheus 568962929b kernel: barebones ext2 implementation (setattr, getattr, lookup and getdents) 2023-07-23 01:09:44 -03:00
Matheus d202e152db tmpfs: fix use of nonzero'd memory 2023-07-15 14:22:16 -03:00
Matheus 7a0bd0747e vfs: VOP_RESIZE 2023-07-09 20:47:28 -03:00
Matheus e938d0332e kernel: poll system and poll syscall 2023-07-08 22:02:36 -03:00
Matheus a94d8f7389 tmpfs: don't resize on setattr 2023-07-06 20:56:10 -03:00
Matheus 4a9306191b tmpfs: misc fixes 2023-07-06 13:59:51 -03:00
Matheus 4b38f6d26b syscalls: mkdirat and gethostname + uname stubs in mlibc 2023-07-05 21:06:38 -03:00
Matheus f76046a56b syscalls: ioctl 2023-07-05 20:19:36 -03:00
Matheus d4813dc277 fs: misc fixes related to symlinks 2023-07-05 00:07:43 -03:00
Matheus 23bd7ddfd2 pipefs: fix events on close 2023-07-04 20:29:48 -03:00
Matheus 04a5aa4bc6 syscalls: isatty 2023-07-04 20:19:15 -03:00
Matheus 51446cdd37 kernel: pipefs 2023-07-03 23:01:32 -03:00
Matheus 032560bda0 file: redo locking 2023-07-03 22:51:53 -03:00
Matheus 98fc4eb23d file: FDTABLE_LIMIT 2023-06-27 19:54:33 -03:00
Matheus d06e00dda7 devfs: handle . properly 2023-06-27 19:39:27 -03:00
Matheus 58909673e9 devfs: getdents and a few fixes 2023-06-26 23:54:42 -03:00
Matheus 265d12f6b2 file: fd duping and related syscalls 2023-06-26 23:18:49 -03:00
Matheus 9bdbdb9378 syscalls: getdents syscall 2023-06-26 21:32:39 -03:00
Matheus fef149ca55 vfs: redo vnode locking 2023-06-15 19:57:56 -03:00
Matheus 74924c4d11 file: cleanfile null vnode protection 2023-05-29 10:48:04 -03:00
Matheus 6f1eae6db1 file: fd_clone 2023-05-16 19:23:31 -03:00
Matheus d8cb7b2f42 file: fd_allocate 2023-05-13 21:12:25 -03:00
Matheus 70c5e992cc file: cleanfile 2023-05-10 20:43:36 -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 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