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:
Marco Cutecchia 2023-04-10 16:51:21 +02:00 committed by Sam Atkins
parent e144b477bd
commit 75cc670bcb
Notes: sideshowbarker 2024-07-17 03:35:24 +09:00

View file

@ -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) {