Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 380907
Collapse All | Expand All

(-)a/tools/vmmouse_detect.c (+5 lines)
Lines 47-52 main(void) Link Here
47
   signal(SIGSEGV, segvCB);
47
   signal(SIGSEGV, segvCB);
48
48
49
#if defined __i386__ || defined __x86_64__ 
49
#if defined __i386__ || defined __x86_64__ 
50
   /*
51
    * To access i/o ports above 0x3ff, we need to be in iopl(3).
52
    */
53
54
   iopl(3);
50
   if (VMMouseClient_Enable()) {
55
   if (VMMouseClient_Enable()) {
51
      VMMouseClient_Disable();
56
      VMMouseClient_Disable();
52
      return 0;
57
      return 0;

Return to bug 380907