summaryrefslogtreecommitdiff
path: root/Kernel/CommandLine.h
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2021-12-19 21:30:36 +0200
committerBrian Gianforcaro <b.gianfo@gmail.com>2021-12-20 11:00:31 -0800
commit30659040edc02c71e7b004dd0133c008006d0d01 (patch)
tree997dbffa3335b0beeb82fc682d190f793bcb1dd0 /Kernel/CommandLine.h
parentf11fbb6415ccee2a430dad834deebd10862dfc23 (diff)
downloadserenity-30659040edc02c71e7b004dd0133c008006d0d01.zip
Kernel: Ensure SMP mode is not enabled if IOAPIC mode is disabled
We need to use the IOAPIC in SMP mode, so if the user requested to disable it, we can't enable SMP mode either.
Diffstat (limited to 'Kernel/CommandLine.h')
-rw-r--r--Kernel/CommandLine.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/CommandLine.h b/Kernel/CommandLine.h
index 5b4f2c37b6..e6b29f38a4 100644
--- a/Kernel/CommandLine.h
+++ b/Kernel/CommandLine.h
@@ -60,6 +60,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_without_ioapic_enabled() const;
[[nodiscard]] bool is_smp_enabled() const;
[[nodiscard]] bool is_physical_networking_disabled() const;
[[nodiscard]] bool is_vmmouse_enabled() const;