summaryrefslogtreecommitdiff
path: root/Kernel/init.cpp
diff options
context:
space:
mode:
authorTom <tomut@yahoo.com>2020-11-25 17:05:46 -0700
committerAndreas Kling <kling@serenityos.org>2020-11-26 10:00:01 +0100
commit2b78b17926d0e22d8f1eea46d1dbe48f19c23280 (patch)
tree75965ca257ec93a730edf07c536d65a0a8d44a58 /Kernel/init.cpp
parentf160df123b46ac98a8569ad569b3ead8fdc90d0b (diff)
downloadserenity-2b78b17926d0e22d8f1eea46d1dbe48f19c23280.zip
Kernel: Enable VMWareBackdoor immediately at boot
Rather than waiting until we get the first mouse packet, enable the absolute mode immediately. This avoids having to click first to be able to move the mouse.
Diffstat (limited to 'Kernel/init.cpp')
-rw-r--r--Kernel/init.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/init.cpp b/Kernel/init.cpp
index 420fa39d5c..f24da6513f 100644
--- a/Kernel/init.cpp
+++ b/Kernel/init.cpp
@@ -265,6 +265,7 @@ void init_stage2()
new RandomDevice;
PTYMultiplexer::initialize();
new SB16;
+ VMWareBackdoor::the(); // don't wait until first mouse packet
bool force_pio = kernel_command_line().contains("force_pio");