mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-30 00:31:14 +00:00
Kernel/aarch64: Use adopt_lock_ref to instantiate an InterruptController
This commit is contained in:
parent
dd6e70afd6
commit
66bde66f49
Notes:
sideshowbarker
2024-07-17 06:29:27 +09:00
Author: https://github.com/supercomputer7 Commit: https://github.com/SerenityOS/serenity/commit/66bde66f49 Pull-request: https://github.com/SerenityOS/serenity/pull/15420 Reviewed-by: https://github.com/FireFox317 ✅
|
@ -34,7 +34,7 @@ void InterruptManagement::initialize()
|
||||||
void InterruptManagement::find_controllers()
|
void InterruptManagement::find_controllers()
|
||||||
{
|
{
|
||||||
// TODO: Once device tree support is in place, find interrupt controllers using that.
|
// TODO: Once device tree support is in place, find interrupt controllers using that.
|
||||||
m_interrupt_controllers.append(new RPi::InterruptController);
|
m_interrupt_controllers.append(adopt_lock_ref(*new (nothrow) RPi::InterruptController));
|
||||||
}
|
}
|
||||||
|
|
||||||
u8 InterruptManagement::acquire_mapped_interrupt_number(u8 interrupt_number)
|
u8 InterruptManagement::acquire_mapped_interrupt_number(u8 interrupt_number)
|
||||||
|
|
Loading…
Reference in a new issue