mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:47:34 +00:00
Kernel: Convert klog() => dmesgln() in VMWareBackdoor
This commit is contained in:
parent
5fd3006db2
commit
a906670d1c
1 changed files with 3 additions and 5 deletions
|
@ -145,7 +145,7 @@ void VMWareBackdoor::enable_absolute_vmmouse()
|
|||
InterruptDisabler disabler;
|
||||
if (!detect_vmmouse())
|
||||
return;
|
||||
klog() << "VMWareBackdoor: Enabling absolute mouse mode";
|
||||
dmesgln("VMWareBackdoor: Enabling absolute mouse mode");
|
||||
|
||||
VMWareCommand command;
|
||||
|
||||
|
@ -153,7 +153,7 @@ void VMWareBackdoor::enable_absolute_vmmouse()
|
|||
command.command = VMMOUSE_STATUS;
|
||||
send(command);
|
||||
if (command.ax == 0xFFFF0000) {
|
||||
klog() << "VMWareBackdoor: VMMOUSE_STATUS got bad status";
|
||||
dmesgln("VMWareBackdoor: VMMOUSE_STATUS got bad status");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -213,9 +213,7 @@ Optional<MousePacket> VMWareBackdoor::receive_mouse_packet()
|
|||
command.command = VMMOUSE_STATUS;
|
||||
send(command);
|
||||
if (command.ax == 0xFFFF0000) {
|
||||
#if PS2MOUSE_DEBUG
|
||||
klog() << "PS2MouseDevice: Resetting VMWare mouse";
|
||||
#endif
|
||||
dbgln_if(PS2MOUSE_DEBUG, "PS2MouseDevice: Resetting VMWare mouse");
|
||||
disable_absolute_vmmouse();
|
||||
enable_absolute_vmmouse();
|
||||
return {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue