Changeset 31827 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Miniport
- Timestamp:
- Aug 20, 2010 3:17:00 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxVideo.cpp
r30169 r31827 40 40 static WCHAR VBoxBiosString[] = L"Version 0xB0C2 or later"; 41 41 42 VIDEO_ACCESS_RANGE VGARanges[] = { 43 { 0x000003B0, 0x00000000, 0x0000000C, 1, 1, 1, 0 }, /* 0x3B0-0x3BB */ 44 { 0x000003C0, 0x00000000, 0x00000020, 1, 1, 1, 0 }, /* 0x3C0-0x3DF */ 45 { 0x000A0000, 0x00000000, 0x00020000, 0, 0, 1, 0 }, /* 0xA0000-0xBFFFF */ 46 }; 42 47 /* 43 48 * Globals for the last custom resolution set. This is important … … 79 84 InitData.HwGetVideoChildDescriptor = VBoxVideoGetChildDescriptor; 80 85 InitData.HwDeviceExtensionSize = sizeof(DEVICE_EXTENSION); 86 // report legacy VGA resource ranges 87 InitData.HwLegacyResourceList = VGARanges; 88 InitData.HwLegacyResourceCount = sizeof(VGARanges) / sizeof(VGARanges[0]); 81 89 82 90 // our DDK is at the Win2k3 level so we have to take special measures … … 1869 1877 /* no matter what we get with VideoPortGetAccessRanges, we assert the default ranges */ 1870 1878 } 1871 #e ndif /* VBOX_WITH_HGSMI */1879 #else 1872 1880 rc = VideoPortVerifyAccessRanges(HwDeviceExtension, 1, AccessRanges); 1873 1881 dprintf(("VBoxVideo::VBoxVideoFindAdapter: VideoPortVerifyAccessRanges returned 0x%x\n", rc)); … … 1876 1884 // pretend success to make the driver work. 1877 1885 rc = NO_ERROR; 1886 #endif /* VBOX_WITH_HGSMI */ 1878 1887 1879 1888 #ifndef VBOX_WITH_HGSMI
Note:
See TracChangeset
for help on using the changeset viewer.