1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 22:07:36 +00:00

Kernel: Add support for high bandwidth IO communication with VMWare

This commit is contained in:
Liav A 2020-02-05 02:54:52 +02:00 committed by Andreas Kling
parent 0c20f98c1c
commit 6070fe581b
3 changed files with 28 additions and 0 deletions

View file

@ -142,6 +142,18 @@ void VMWareBackdoor::disable_absolute_vmmouse()
m_vmmouse_absolute = false;
}
void VMWareBackdoor::send_highbandwidth(VMWareCommand& command)
{
if (supported())
IO::vmware_highbandwidth_send(command);
}
void VMWareBackdoor::get_highbandwidth(VMWareCommand& command)
{
if (supported())
IO::vmware_highbandwidth_get(command);
}
void VMWareBackdoor::send(VMWareCommand& command)
{
if (supported())

View file

@ -69,6 +69,8 @@ public:
void send(VMWareCommand& command);
private:
void send_highbandwidth(VMWareCommand& command);
void get_highbandwidth(VMWareCommand& command);
VMWareBackdoor();
bool detect_presence();
bool detect_vmmouse();