mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-31 07:22:50 +00:00
Kernel: Disable interrupt signaling for the SD driver
Currently we do not use interrupts for the SD driver, yet we had enabled the signaling of all of them. Since we were never acknowledging them, we were getting spammed by unnecessary interrupts, causing the system to slow down to a crawl. This commit makes the system boot in less than 1 minute with PIO, compared to the old 30+ minute boot.
This commit is contained in:
parent
e144b477bd
commit
75cc670bcb
Notes:
sideshowbarker
2024-07-17 03:35:24 +09:00
Author: https://github.com/mrkct
Commit: 75cc670bcb
Pull-request: https://github.com/SerenityOS/serenity/pull/18274
1 changed files with 0 additions and 1 deletions
|
@ -81,7 +81,6 @@ ErrorOr<void> SDHostController::initialize()
|
|||
TRY(reset_host_controller());
|
||||
|
||||
m_registers->interrupt_status_enable = 0xffffffff;
|
||||
m_registers->interrupt_signal_enable = 0xffffffff;
|
||||
|
||||
auto card_or_error = try_initialize_inserted_card();
|
||||
if (card_or_error.is_error() && card_or_error.error().code() != ENODEV) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue