mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:27:45 +00:00
Kernel: Change PCI access commandline option to also represent no access
This change allow the user to request the kernel to not use any PCI resources/devices at all. Also, don't try to initialize devices that rely on PCI if disabled.
This commit is contained in:
parent
6bf59cbb1b
commit
f6e635938f
5 changed files with 25 additions and 8 deletions
|
@ -31,6 +31,7 @@ enum class AcpiFeatureLevel {
|
|||
};
|
||||
|
||||
enum class PCIAccessLevel {
|
||||
None,
|
||||
IOAddressing,
|
||||
MemoryAddressing,
|
||||
};
|
||||
|
@ -70,6 +71,7 @@ public:
|
|||
[[nodiscard]] bool is_physical_networking_disabled() const;
|
||||
[[nodiscard]] bool is_vmmouse_enabled() const;
|
||||
[[nodiscard]] PCIAccessLevel pci_access_level() const;
|
||||
[[nodiscard]] bool is_pci_disabled() const;
|
||||
[[nodiscard]] bool is_legacy_time_enabled() const;
|
||||
[[nodiscard]] bool is_pc_speaker_enabled() const;
|
||||
[[nodiscard]] FrameBufferDevices are_framebuffer_devices_enabled() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue