VirtualBox

Ignore:
Timestamp:
Aug 27, 2009 9:58:37 PM (15 years ago)
Author:
vboxsync
Message:

VBoxVideo/win: proper handling OS version information for win > XP & make VideoPort be properly initialized for win > XP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxVideo.cpp

    r22469 r22540  
    3030#include <VBoxDisplay.h>
    3131
    32 #ifdef VBOX_WITH_HGSMI
    33 #include <iprt/initterm.h>
    34 #endif
    35 
    3632#if _MSC_VER >= 1400 /* bird: MS fixed swprintf to be standard-conforming... */
    3733#define _INC_SWPRINTF_INL_
     
    6359    VIDEO_HW_INITIALIZATION_DATA InitData;
    6460    ULONG rc;
    65 
    66 #ifdef VBOX_WITH_HGSMI
    67     RTR0Init(0);
    68 #endif
    6961
    7062    dprintf(("VBoxVideo::DriverEntry. Built %s %s\n", __DATE__, __TIME__));
     
    12161208          ((PDEVICE_EXTENSION)HwDeviceExtension)->u.primary.IOPortGuest = 0;
    12171209
    1218           VIDEO_ACCESS_RANGE tmpRanges[2];
     1210          VIDEO_ACCESS_RANGE tmpRanges[4];
    12191211          ULONG slot;
     1212
     1213          VideoPortZeroMemory(tmpRanges, sizeof(tmpRanges));
    12201214
    12211215          /* need to call VideoPortGetAccessRanges to ensure interrupt info in ConfigInfo gets set up */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette