mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 16:16:43 +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
|
@ -10,6 +10,9 @@
|
|||
#include <Kernel/Interrupts/IRQController.h>
|
||||
|
||||
namespace Kernel {
|
||||
|
||||
static constexpr size_t pic_disabled_vector_base = 0x20;
|
||||
|
||||
class PIC final : public IRQController {
|
||||
public:
|
||||
PIC();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue