1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:18:11 +00:00

Kernel: Stub more functions to progress aarch64 build

This commit is contained in:
Timon Kruiper 2022-10-25 18:44:54 +02:00 committed by Gunnar Beutner
parent f9ab02429b
commit 32f4c8df6c
5 changed files with 36 additions and 1 deletions

View file

@ -102,11 +102,16 @@ UNMAP_AFTER_INIT void StorageManagement::enumerate_pci_controllers(bool force_pi
}
}
#if ARCH(I386) || ARCH(X86_64)
auto subclass_code = static_cast<SubclassID>(device_identifier.subclass_code().value());
#if ARCH(I386) || ARCH(X86_64)
if (subclass_code == SubclassID::IDEController && kernel_command_line().is_ide_enabled()) {
m_controllers.append(PCIIDELegacyModeController::initialize(device_identifier, force_pio));
}
#elif ARCH(AARCH64)
(void)force_pio;
TODO_AARCH64();
#else
# error Unknown architecture
#endif
if (subclass_code == SubclassID::SATAController