mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:27:35 +00:00
Kernel: Use MUST + Vector::try_empend instead of Vector::empend
In preparation for making Vector::empend unavailable during compilation of the Kernel.
This commit is contained in:
parent
24066ba5ef
commit
6c66311ade
5 changed files with 10 additions and 10 deletions
|
@ -214,11 +214,11 @@ UNMAP_AFTER_INIT void InterruptManagement::locate_apic_data()
|
|||
ByteReader::load<u32>(reinterpret_cast<u8 const*>(&interrupt_override_entry->global_system_interrupt), global_system_interrupt);
|
||||
u16 flags = 0;
|
||||
ByteReader::load<u16>(reinterpret_cast<u8 const*>(&interrupt_override_entry->flags), flags);
|
||||
m_isa_interrupt_overrides.empend(
|
||||
MUST(m_isa_interrupt_overrides.try_empend(
|
||||
interrupt_override_entry->bus,
|
||||
interrupt_override_entry->source,
|
||||
global_system_interrupt,
|
||||
flags);
|
||||
flags));
|
||||
|
||||
dbgln("Interrupts: Overriding INT {:#x} with GSI {}, for bus {:#x}",
|
||||
interrupt_override_entry->source,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue