mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:17:44 +00:00
Kernel: Avoid allocation when checking for vmmouse
This commit is contained in:
parent
3d855a801b
commit
bf88adbcb6
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ UNMAP_AFTER_INIT bool CommandLine::is_smp_enabled() const
|
||||||
|
|
||||||
UNMAP_AFTER_INIT bool CommandLine::is_vmmouse_enabled() const
|
UNMAP_AFTER_INIT bool CommandLine::is_vmmouse_enabled() const
|
||||||
{
|
{
|
||||||
return lookup("vmmouse"sv).value_or("on") == "on"sv;
|
return lookup("vmmouse"sv).value_or("on"sv) == "on"sv;
|
||||||
}
|
}
|
||||||
|
|
||||||
UNMAP_AFTER_INIT PCIAccessLevel CommandLine::pci_access_level() const
|
UNMAP_AFTER_INIT PCIAccessLevel CommandLine::pci_access_level() const
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue