Enable IRQs before leaving the OSTD boot routine

This commit is contained in:
Zhang Junyang
2024-08-12 13:01:01 +00:00
committed by Tate, Hongliang Tian
parent 20d5212910
commit 491e4325fa
7 changed files with 42 additions and 55 deletions

View File

@ -89,9 +89,6 @@ fn init_thread() {
// Work queue should be initialized before interrupt is enabled,
// in case any irq handler uses work queue as bottom half
thread::work_queue::init();
// FIXME: Remove this if we move the step of mounting
// the filesystems to be done within the init process.
ostd::trap::enable_local();
net::lazy_init();
fs::lazy_init();
// driver::pci::virtio::block::block_device_test();