Changeset 70033 in vbox
- Timestamp:
- Dec 8, 2017 2:21:58 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-linux.c
r69500 r70033 226 226 }; 227 227 228 #ifdef VBOXGUEST_WITH_INPUT_DRIVER 229 /** Kernel IDC session to ourselves for use with the mouse events. */ 228 230 static PVBOXGUESTSESSION g_pKernelSession = NULL; 231 #endif 229 232 230 233 … … 512 515 #endif /* VBOXGUEST_WITH_INPUT_DRIVER */ 513 516 514 515 517 /** 516 518 * Creates the device nodes. … … 628 630 if (RT_SUCCESS(rc)) 629 631 { 632 #ifdef VBOXGUEST_WITH_INPUT_DRIVER 630 633 /* 631 634 * Create the kernel session for this driver. … … 637 640 * Create the kernel input device. 638 641 */ 639 #ifdef VBOXGUEST_WITH_INPUT_DRIVER640 642 rc = vgdrvLinuxCreateInputDevice(); 641 643 if (rc >= 0) … … 665 667 rc = RTErrConvertFromErrno(rc); 666 668 } 667 #endif668 669 VGDrvCommonCloseSession(&g_DevExt, g_pKernelSession); 670 #endif 669 671 } 670 672 VGDrvCommonDeleteDevExt(&g_DevExt); … … 702 704 #ifdef VBOXGUEST_WITH_INPUT_DRIVER 703 705 vgdrvLinuxTermInputDevice(); 704 #endif705 706 VGDrvCommonCloseSession(&g_DevExt, g_pKernelSession); 707 #endif 706 708 VGDrvCommonDeleteDevExt(&g_DevExt); 707 709 vgdrvLinuxTermISR();
Note:
See TracChangeset
for help on using the changeset viewer.

