1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:27:35 +00:00

Kernel: Add nvme_poll command line parameters

As we don't currently support MSI(X) interrupts, it could be an issue
to boot on some newer hardware. NVMe devices support polling mode
where the driver actively polls for completion instead of waiting for
an interrupt.
This commit is contained in:
Pankaj Raghav 2022-01-27 16:25:39 +05:30 committed by Andreas Kling
parent 19a2b32065
commit e5a6d12ff8
3 changed files with 9 additions and 1 deletions

View file

@ -87,6 +87,7 @@ public:
[[nodiscard]] StringView userspace_init() const;
[[nodiscard]] NonnullOwnPtrVector<KString> userspace_init_args() const;
[[nodiscard]] StringView root_device() const;
[[nodiscard]] bool is_nvme_polling_enabled() const;
[[nodiscard]] size_t switch_to_tty() const;
private: