feat: open(2), close(2), mkdir(2) and readdir(2) syscall
authorMinep <zelong56@gmail.com>
Wed, 27 Jul 2022 16:01:23 +0000 (17:01 +0100)
committerMinep <zelong56@gmail.com>
Wed, 27 Jul 2022 16:01:23 +0000 (17:01 +0100)
commit003db17f7a36a8098827f40df8fedc087b5a26f6
treec8ebe303459b5348799898cc919994a27ca1eecc
parent5fc669295655ec0eea7722aa4a48921dc6b700ec
feat: open(2), close(2), mkdir(2) and readdir(2) syscall
feat: file descriptor support
feat: fast interge base 2 logarithm.
fix: incorrect cake piece number calculation in cake allocator
fix: incomplete refactoring in ahci code base
fix: file system mounting.
chores: code refactoring and cleaning
25 files changed:
lunaix-os/hal/ahci/ahci.c
lunaix-os/includes/hal/ahci/sata.h
lunaix-os/includes/hal/ahci/scsi.h
lunaix-os/includes/lunaix/dirent.h [new file with mode: 0644]
lunaix-os/includes/lunaix/fctrl.h [new file with mode: 0644]
lunaix-os/includes/lunaix/foptions.h [new file with mode: 0644]
lunaix-os/includes/lunaix/fs.h
lunaix-os/includes/lunaix/fs/twifs.h
lunaix-os/includes/lunaix/process.h
lunaix-os/includes/lunaix/spike.h
lunaix-os/includes/lunaix/status.h
lunaix-os/includes/lunaix/syscall.h
lunaix-os/kernel/asm/x86/syscall.S
lunaix-os/kernel/fs/fsm.c
lunaix-os/kernel/fs/twifs.c
lunaix-os/kernel/fs/vfs.c
lunaix-os/kernel/k_init.c
lunaix-os/kernel/mm/cake.c
lunaix-os/kernel/mm/valloc.c
lunaix-os/kernel/proc0.c
lunaix-os/kernel/process.c
lunaix-os/kernel/sched.c
lunaix-os/kernel/signal.c
lunaix-os/libs/crc.c
lunaix-os/libs/hash.c