summaryrefslogtreecommitdiff
path: root/Kernel/CommandLine.h
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2022-01-22 12:29:55 +0200
committerLinus Groh <mail@linusgroh.de>2022-01-23 00:40:54 +0000
commit69f054616d3c5bbcf8c4d3ba4546ee5ec0b82c36 (patch)
tree0be08f1257afd0c3407933a24da2edc05a267bae /Kernel/CommandLine.h
parent8dbbef9b5cf7a0ae96a8d31391eb29021756a36c (diff)
downloadserenity-69f054616d3c5bbcf8c4d3ba4546ee5ec0b82c36.zip
Kernel: Add CommandLine option to disable or enable the PC speaker
By default, we disable the PC speaker as it's quite annoying when using the text mode console.
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 f28b97a0de..492650e781 100644
--- a/Kernel/CommandLine.h
+++ b/Kernel/CommandLine.h
@@ -71,6 +71,7 @@ public:
[[nodiscard]] bool is_vmmouse_enabled() const;
[[nodiscard]] PCIAccessLevel pci_access_level() const;
[[nodiscard]] bool is_legacy_time_enabled() const;
+ [[nodiscard]] bool is_pc_speaker_enabled() const;
[[nodiscard]] FrameBufferDevices are_framebuffer_devices_enabled() const;
[[nodiscard]] bool is_force_pio() const;
[[nodiscard]] AcpiFeatureLevel acpi_feature_level() const;