Commit Graph

29 Commits

Author SHA1 Message Date
Matheus 91a1781ecb syscalls: ioctl 2022-09-29 18:04:07 -03:00
Matheus 943e7abf80 vfs: getdirent 2022-09-24 17:13:03 -03:00
Matheus 313abaeb9a misc file bugfixes 2022-09-24 14:55:47 -03:00
Matheus 9c6d1157d7 fs: fix wrong mode on files 2022-09-24 00:04:30 -03:00
Matheus 67c9a04d58 fd: change allocation to add a lowest fd option 2022-09-23 19:37:40 -03:00
Matheus 8f2089f912 fd: duplicate and max_fd 2022-09-23 00:25:31 -03:00
Matheus 5e2059c284 fd: bugfixes
- add an extra check
- properly set the fd entry in the table to 0 in a refcount > 0 free
- only close the fd node if there's an open node
2022-09-20 17:13:37 -03:00
Matheus cd78bcff92 fd: fix table cloning 2022-09-19 22:51:37 -03:00
Matheus ce217ea8d8 fd: table cloning func 2022-09-19 18:37:21 -03:00
Matheus 41d6e7230e fd: new abstraction 2022-09-18 16:21:45 -03:00
Matheus cd8b9ae1e6 vfs: break traversal at separator only filename 2022-08-29 00:21:56 -03:00
Matheus 56bee8be77 VFS: dot entries 2022-08-28 16:28:11 -03:00
Matheus 54d9c3d809 vfs: very basic locking 2022-08-27 21:12:50 -03:00
Matheus 6d4439ee2f tmpfs: set error to 0 on read 2022-08-27 20:28:09 -03:00
Matheus 9c6ce452f8 /dev/console 2022-08-20 15:15:10 -03:00
Matheus b3b5981f7a isatty syscall 2022-08-20 12:47:23 -03:00
Matheus fc7986e5be close syscall 2022-08-19 22:54:07 -03:00
Matheus df2e7b1c34 fix stupid bugs
strcmp was funky, added a few guard checks to hashtable, added error printing to initrd and fixed swapgs (again) in isr.asm
2022-08-16 20:37:45 -03:00
Matheus 7a540ca1e1 fix elf stack issues and interrupt gsbase stuff 2022-08-16 19:12:16 -03:00
Matheus 261d7d3743 elf loading and userland 2022-08-14 20:19:38 -03:00
Matheus b2d8e5a166 devman initial implementation 2022-08-07 17:53:31 -03:00
Matheus 7ec69a219c devfs initial implementation 2022-08-07 17:33:49 -03:00
Matheus bdc19f90ef vfs and tmpfs read 2022-08-07 13:13:42 -03:00
Matheus ea8f21fb71 add tmpfs writing, vfs node tree dumping and fix some stupid issues 2022-08-04 20:49:59 -03:00
Matheus 479c51ec52 Initrd parsing and more VFS funcs.
Finished the initrd_parse() function for now and added vfs_open(), vfs_close() and vfs_write()
2022-08-04 19:31:10 -03:00
Matheus 947f4b4a06 initrd stub 2022-08-03 23:38:56 -03:00
Matheus 6ae75a9e99 create and mkdir funcs
file and directory creation functions for both the vfs and tmpfs
2022-08-03 22:05:11 -03:00
Matheus 2419b2e9e0 vfs filesystem mounting 2022-08-02 22:14:32 -03:00
Matheus 151235694d VFS stub 2022-07-30 22:51:07 -03:00