mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 17:49:40 +00:00
Kernel: Use a constexpr declaration for the disabled PIC IRQ base
This commit is contained in:
parent
ab976667c4
commit
7028a64997
Notes:
sideshowbarker
2024-07-17 19:59:00 +09:00
Author: https://github.com/supercomputer7
Commit: 7028a64997
Pull-request: https://github.com/SerenityOS/serenity/pull/12182
Issue: https://github.com/SerenityOS/serenity/issues/12134
Reviewed-by: https://github.com/IdanHo ✅
Reviewed-by: https://github.com/Panky-codes
2 changed files with 4 additions and 1 deletions
|
@ -148,7 +148,7 @@ void PIC::complete_eoi() const
|
|||
void PIC::hard_disable()
|
||||
{
|
||||
InterruptDisabler disabler;
|
||||
remap(0x20);
|
||||
remap(pic_disabled_vector_base);
|
||||
IO::out8(PIC0_CMD, 0xff);
|
||||
IO::out8(PIC1_CMD, 0xff);
|
||||
m_cached_irq_mask = 0xffff;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue