fix: use wait queue for blocking process
authorMinep <zelong56@gmail.com>
Wed, 9 Nov 2022 18:44:24 +0000 (18:44 +0000)
committerMinep <zelong56@gmail.com>
Wed, 9 Nov 2022 18:49:24 +0000 (18:49 +0000)
commite6416905c4afb34e61276cdc07c44813a3ebc5e7
treea85b453a3b3ab645969c7f1b47473c135c44f61d
parent3b6a05fc894d0c1a3d431045ee5a53955ba093a0
fix: use wait queue for blocking process
test: regression on the async io feature.
refactor: centeralize process state changing.
lunaix-os/hal/ahci/ahci.c
lunaix-os/hal/ahci/atapi.c
lunaix-os/includes/lunaix/blkio.h
lunaix-os/includes/lunaix/buffer.h
lunaix-os/includes/lunaix/process.h
lunaix-os/kernel/block/blkio.c
lunaix-os/kernel/block/block.c
lunaix-os/kernel/ds/buffer.c
lunaix-os/kernel/ds/waitq.c
lunaix-os/kernel/process/sched.c