diff options
author | Liav A <liavalb@gmail.com> | 2021-11-28 17:38:10 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-12-14 09:02:06 +0100 |
commit | ac7953f9457dcd55edb6cc208ec1f8812c895b5f (patch) | |
tree | b5742f875c333aaadf726440c5f5b40844b12467 /Kernel/CommandLine.h | |
parent | f57900a41bfdecd67d3ccee442e7c5c57173ca52 (diff) | |
download | serenity-ac7953f9457dcd55edb6cc208ec1f8812c895b5f.zip |
Kernel: Allow switching to IOAPIC mode even without enabling SMP
This small change allows to use the IOAPIC by default without to enable
SMP mode, which emulates Uni-Processor setup with IOAPIC instead of
using the PIC.
This opens the opportunity to utilize other types of interrupts like MSI
and MSI-X interrupts.
Diffstat (limited to 'Kernel/CommandLine.h')
-rw-r--r-- | Kernel/CommandLine.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/CommandLine.h b/Kernel/CommandLine.h index 6006958fee..5b4f2c37b6 100644 --- a/Kernel/CommandLine.h +++ b/Kernel/CommandLine.h @@ -59,6 +59,7 @@ public: [[nodiscard]] bool is_boot_profiling_enabled() const; [[nodiscard]] bool is_ide_enabled() const; + [[nodiscard]] bool is_ioapic_enabled() const; [[nodiscard]] bool is_smp_enabled() const; [[nodiscard]] bool is_physical_networking_disabled() const; [[nodiscard]] bool is_vmmouse_enabled() const; |