mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
Kernel+SystemServer: Change bootmode to system_mode
'bootmode' now only controls which set of services are started by SystemServer, so it is more appropriate to rename it to system_mode, and no longer validate it in the Kernel.
This commit is contained in:
parent
09432a8241
commit
8d13f6ddce
Notes:
sideshowbarker
2024-07-18 01:52:29 +09:00
Author: https://github.com/BenWiederhake
Commit: 8d13f6ddce
Pull-request: https://github.com/SerenityOS/serenity/pull/10607
Reviewed-by: https://github.com/ADKaster ✅
11 changed files with 64 additions and 51 deletions
|
@ -15,13 +15,6 @@
|
|||
|
||||
namespace Kernel {
|
||||
|
||||
enum class BootMode {
|
||||
NoFramebufferDevices,
|
||||
SelfTest,
|
||||
Graphical,
|
||||
Unknown,
|
||||
};
|
||||
|
||||
enum class PanicMode {
|
||||
Halt,
|
||||
Shutdown,
|
||||
|
@ -74,7 +67,7 @@ public:
|
|||
[[nodiscard]] bool are_framebuffer_devices_enabled() const;
|
||||
[[nodiscard]] bool is_force_pio() const;
|
||||
[[nodiscard]] AcpiFeatureLevel acpi_feature_level() const;
|
||||
[[nodiscard]] BootMode boot_mode(Validate should_validate = Validate::No) const;
|
||||
[[nodiscard]] StringView system_mode() const;
|
||||
[[nodiscard]] PanicMode panic_mode(Validate should_validate = Validate::No) const;
|
||||
[[nodiscard]] HPETMode hpet_mode() const;
|
||||
[[nodiscard]] bool disable_physical_storage() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue