mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 18:37:58 +03:00
Kernel: Stub more functions to progress aarch64 build
This commit is contained in:
parent
f9ab02429b
commit
32f4c8df6c
Notes:
sideshowbarker
2024-07-17 07:19:27 +09:00
Author: https://github.com/FireFox317 Commit: https://github.com/SerenityOS/serenity/commit/32f4c8df6c Pull-request: https://github.com/SerenityOS/serenity/pull/15794 Reviewed-by: https://github.com/nico ✅
@ -54,4 +54,9 @@ NonnullLockRefPtr<IRQController> InterruptManagement::get_responsible_irq_contro
|
||||
return m_interrupt_controllers[0];
|
||||
}
|
||||
|
||||
void InterruptManagement::enumerate_interrupt_handlers(Function<void(GenericInterruptHandler&)>)
|
||||
{
|
||||
TODO_AARCH64();
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -23,6 +23,8 @@ public:
|
||||
Vector<NonnullLockRefPtr<IRQController>> const& controllers();
|
||||
NonnullLockRefPtr<IRQController> get_responsible_irq_controller(u8 interrupt_vector);
|
||||
|
||||
void enumerate_interrupt_handlers(Function<void(GenericInterruptHandler&)>);
|
||||
|
||||
private:
|
||||
InterruptManagement() = default;
|
||||
void find_controllers();
|
||||
|
@ -215,6 +215,28 @@ public:
|
||||
return *g_current_processor;
|
||||
}
|
||||
|
||||
template<IteratorFunction<Processor&> Callback>
|
||||
static inline IterationDecision for_each(Callback)
|
||||
{
|
||||
TODO_AARCH64();
|
||||
}
|
||||
|
||||
template<VoidFunction<Processor&> Callback>
|
||||
static inline IterationDecision for_each(Callback)
|
||||
{
|
||||
TODO_AARCH64();
|
||||
}
|
||||
|
||||
u64 time_spent_idle() const
|
||||
{
|
||||
TODO_AARCH64();
|
||||
}
|
||||
|
||||
static u32 count()
|
||||
{
|
||||
TODO_AARCH64();
|
||||
}
|
||||
|
||||
// FIXME: Move this into generic Processor class, when there is such a class.
|
||||
ALWAYS_INLINE static bool is_bootstrap_processor()
|
||||
{
|
||||
|
@ -32,6 +32,7 @@ struct RegisterState {
|
||||
(void)value;
|
||||
TODO_AARCH64();
|
||||
}
|
||||
FlatPtr bp() const { TODO_AARCH64(); }
|
||||
};
|
||||
|
||||
inline void copy_kernel_registers_into_ptrace_registers(PtraceRegisters& ptrace_regs, RegisterState const& kernel_regs)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user