Changeset 33676 in vbox
- Timestamp:
- Nov 2, 2010 9:48:24 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 67299
- Location:
- trunk
- Files:
-
- 31 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.scm-settings
r32394 r33676 63 63 --filter-out-dirs "*/src/VBox/Devices/PC/Etherboot-src/*/." 64 64 --filter-out-dirs "*/src/VBox/Devices/EFI/Firmware2/VBoxPkg/Include/*/." 65 --filter-out-dirs "*/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxIdeBusDxe/." 66 --filter-out-dirs "*/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxIdeControllerDxe/." 65 67 --filter-out-dirs "*/src/VBox/Devices/Network/lwip/." 66 --filter-out-dirs "*/src/VBox/ Devices/Storage/VBoxHDDFormats/StorageCraft/*/."68 --filter-out-dirs "*/src/VBox/Storage/VDFormats/StorageCraft/*/." 67 69 --filter-out-dirs "*/src/VBox/RDP/client/." 68 70 --filter-out-dirs "*/src/recompiler/tests/." -
trunk/include/VBox/ExtPack/ExtPack.h
r33623 r33676 196 196 #endif 197 197 198 -
trunk/include/VBox/VMMDev.h
r33540 r33676 347 347 * size of cursor, including the trailing cursor image and mask data. 348 348 * @note an "empty" request still has the four preallocated bytes of data 349 * 349 * 350 350 * @returns the size 351 351 * @param width the cursor width -
trunk/include/VBox/com/defs.h
r33385 r33676 41 41 # undef RT_MAX 42 42 # define REDEFINE_RT_MAX 43 # endif 43 # endif 44 44 # undef RT_MAX 45 45 … … 55 55 56 56 /* */ 57 # undef RT_MAX 57 # undef RT_MAX 58 58 # ifdef REDEFINE_RT_MAX 59 59 # define RT_MAX(Value1, Value2) ( (Value1) >= (Value2) ? (Value1) : (Value2) ) -
trunk/include/iprt/symlink.h
r33426 r33676 150 150 #endif 151 151 152 -
trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxDispD3D.cpp
r33616 r33676 3476 3476 pDevice->aStreamSource[pData->Stream] = NULL; 3477 3477 } 3478 3478 3479 3479 vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr)); 3480 3480 return hr; -
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/Makefile.kmk
r33146 r33676 78 78 VBoxVideoWddm_DEFS += VBOXWDDM_RENDER_FROM_SHADOW 79 79 ifdef VBOXVDMA_WITH_VBVA 80 VBoxVideoWddm_DEFS += VBOXVDMA_WITH_VBVA 80 VBoxVideoWddm_DEFS += VBOXVDMA_WITH_VBVA 81 81 endif 82 82 endif 83 83 ifdef VBOX_WITH_VDMA 84 VBoxVideoWddm_DEFS += VBOX_WITH_VDMA 84 VBoxVideoWddm_DEFS += VBOX_WITH_VDMA 85 85 endif 86 86 ifdef VBOX_WITH_CRHGSMI 87 87 VBoxVideoWddm_DEFS += VBOX_WITH_CRHGSMI 88 88 endif 89 89 90 90 ifdef DEBUG_misha 91 91 VBoxVideoWddm_DEFS += LOG_ENABLED -
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxVideo.cpp
r33628 r33676 1917 1917 else 1918 1918 pDevExt->fAnyX = FALSE; 1919 1919 1920 1920 vboxVideoInitCustomVideoModes(pDevExt); 1921 1921 -
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxVideo.h
r33628 r33676 237 237 238 238 /* The IO Port Number for guest commands. */ 239 RTIOPORT IOPortGuest; 239 RTIOPORT IOPortGuest; 240 240 } VBOXVIDEO_COMMON, *PVBOXVIDEO_COMMON; 241 241 -
trunk/src/VBox/Additions/common/VBoxGuest/Makefile.kmk
r33395 r33676 115 115 VBoxGuest2.cpp 116 116 endif # OS/2 117 117 118 118 VBoxGuest2.cpp_DEFS = VBOX_SVN_REV=$(VBOX_SVN_REV) 119 119 VBoxGuest.cpp_DEFS = VBOX_SVN_REV=$(VBOX_SVN_REV) -
trunk/src/VBox/Devices/Audio/DevCodec.cpp
r33629 r33676 432 432 pNode->node.au32F00_param[4] = (1 << 16)|0x1; /* start node 1, total 1*/ 433 433 pNode->node.au32F00_param[0xA] = pState->pNodes[1].node.au32F00_param[0xA]; 434 434 435 435 break; 436 436 case 0x1: /* AFG */ 437 437 pNode->node.au32F00_param[4] = (2 << 16)|0x25; /* start node 1, total 1*/ 438 pNode->node.au32F00_param[5] = RT_BIT(8) | 0x1; /* UnSol: enabled, function group type: AFG */ 438 pNode->node.au32F00_param[5] = RT_BIT(8) | 0x1; /* UnSol: enabled, function group type: AFG */ 439 439 pNode->afg.u32F20_param = pState->u16VendorId << 16 | pState->u16DeviceId; 440 440 pNode->node.au32F00_param[0xB] = 0x1; … … 601 601 pNode->port.u32F1c_param = 0x400000f0; 602 602 pNode->node.au32F00_param[0xC] = RT_BIT(13)|RT_BIT(12)|RT_BIT(11)|RT_BIT(10)|RT_BIT(9)|RT_BIT(8)|RT_BIT(5)|RT_BIT(4)|RT_BIT(3)|RT_BIT(2); 603 port_init: 603 port_init: 604 604 pNode->node.au32F00_param[0x9] = 0x40018f; 605 605 pNode->node.au32F00_param[0xD] = 0x270300; … … 1910 1910 1911 1911 /* 44.1 kHz */ 1912 as.freq = 44100; 1912 as.freq = 44100; 1913 1913 as.nchannels = 2; 1914 1914 as.fmt = AUD_FMT_S16; … … 1927 1927 #define IS_FORMAT_SUPPORTED_BY_HOST(pState, base, mult, div) (AUDIO_FORMAT_SELECTOR((pState), Out, (base), (mult), (div)) \ 1928 1928 && AUDIO_FORMAT_SELECTOR((pState), In, (base), (mult), (div))) 1929 1929 1930 1930 pState->pNodes[1].node.au32F00_param[0xA] = RT_BIT(17); /* 16-bit samples */ 1931 1931 SETUP_AUDIO_FORMAT(pState, AFMT_HZ_44_1K, AFMT_MULT_X1, AFMT_DIV_X1, "hda44_1", as, pi_callback, po_callback); … … 1941 1941 pState->pNodes[1].node.au32F00_param[0xA] |= IS_FORMAT_SUPPORTED_BY_HOST(pState, AFMT_HZ_44_1K, AFMT_MULT_X4, AFMT_DIV_X1) ? RT_BIT(9) : 0; 1942 1942 1943 as.freq = 48000; 1943 as.freq = 48000; 1944 1944 SETUP_AUDIO_FORMAT(pState, AFMT_HZ_48K, AFMT_MULT_X1, AFMT_DIV_X1, "hda48", as, pi_callback, po_callback); 1945 1945 pState->pNodes[1].node.au32F00_param[0xA] |= IS_FORMAT_SUPPORTED_BY_HOST(pState, AFMT_HZ_48K, AFMT_MULT_X1, AFMT_DIV_X1) ? RT_BIT(6) : 0; -
trunk/src/VBox/Devices/Audio/DevCodec.h
r33400 r33676 241 241 242 242 #ifdef VBOX_WITH_AUDIO_FLEXIBLE_FORMAT 243 # define MAX_AUDIO_FORMAT 64 243 # define MAX_AUDIO_FORMAT 64 244 244 typedef SWVoiceIn *CODECAUDIOINFORMAT[MAX_AUDIO_FORMAT]; 245 245 typedef SWVoiceOut *CODECAUDIOOUTFORMAT[MAX_AUDIO_FORMAT]; -
trunk/src/VBox/Devices/Audio/DevIchAc97.cpp
r32726 r33676 1579 1579 PCIDevSetDeviceId (&pThis->dev, 0x2415); /* 02 ro - 82801 / 82801aa(?). */Assert (pThis->dev.config[0x02] == 0x15); Assert (pThis->dev.config[0x03] == 0x24); 1580 1580 PCIDevSetCommand (&pThis->dev, 0x0000); /* 04 rw,ro - pcicmd. */ Assert (pThis->dev.config[0x04] == 0x00); Assert (pThis->dev.config[0x05] == 0x00); 1581 PCIDevSetStatus (&pThis->dev, 1581 PCIDevSetStatus (&pThis->dev, 1582 1582 VBOX_PCI_STATUS_DEVSEL_MEDIUM | VBOX_PCI_STATUS_FAST_BACK); /* 06 rwc?,ro? - pcists. */ Assert (pThis->dev.config[0x06] == 0x80); Assert (pThis->dev.config[0x07] == 0x02); 1583 1583 PCIDevSetRevisionId (&pThis->dev, 0x01); /* 08 ro - rid. */ Assert (pThis->dev.config[0x08] == 0x01); -
trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/Library/VBoxGenericBdsLib/BdsMisc.c
r33595 r33676 598 598 if (!Option) 599 599 { 600 601 600 DEBUG((DEBUG_INFO, "%a:%d Option %s wasn't found \n", __FILE__, __LINE__, Option)); 601 continue; 602 602 } 603 603 Option->BootCurrent = OptionOrder[Index]; -
trunk/src/VBox/Devices/Graphics/DevVGA.cpp
r33644 r33676 3986 3986 pHlp->pfnPrintf(pHlp, "start : %#x\n", val); 3987 3987 if (!is_graph) 3988 { 3988 { 3989 3989 val = (s->cr[9] & 0x1f) + 1; 3990 3990 char_height = val; … … 4213 4213 return; 4214 4214 } 4215 4215 4216 4216 pHlp->pfnPrintf(pHlp, "VBE state (chip ID 0x%04x):\n", s->vbe_regs[VBE_DISPI_INDEX_ID]); 4217 4217 pHlp->pfnPrintf(pHlp, " Display resolution: %d x %d @ %dbpp\n", … … 5440 5440 int maxPage; 5441 5441 int bpl; 5442 5442 5443 5443 5444 5444 /* For 4bpp modes, the planes are "stacked" on top of each other. */ -
trunk/src/VBox/Devices/Network/slirp/bootp.c
r32747 r33676 247 247 248 248 /*DHCP Offer specific*/ 249 /* 249 /* 250 250 * we're care in built-in tftp server about existence/validness of the boot file. 251 251 */ -
trunk/src/VBox/Devices/Storage/DevBusLogic.cpp
r33540 r33676 2342 2342 if (pThis->VBoxSCSI.fBusy) 2343 2343 { 2344 2344 2345 2345 /* The BIOS had a request active when we got suspended. Resume it. */ 2346 2346 int rc = buslogicPrepareBIOSSCSIRequest(pThis); -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineMenuBar.cpp
r33386 r33676 115 115 if (fOptions & UIMainMenuType_Debug) 116 116 { 117 CMachine machine; /** @todo we should try get the machine here. But we'll 117 CMachine machine; /** @todo we should try get the machine here. But we'll 118 118 * probably be fine with the cached values. */ 119 119 if (vboxGlobal().isDebuggerEnabled(machine)) -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UINewVMWzd.cpp
r33670 r33676 774 774 m_Machine.SetVRAMSize (qMax (type.GetRecommendedVRAM(), 775 775 (ULONG) (VBoxGlobal::requiredVideoMemory(&m_Machine) / _1M))); 776 776 777 777 /* Selecting recommended chipset type */ 778 778 m_Machine.SetChipsetType(type.GetRecommendedChipset()); -
trunk/src/VBox/GuestHost/OpenGL/Makefile.kmk
r33583 r33676 89 89 $(VBOX_LIB_IPRT_GUEST_R3_SHARED) 90 90 ifdef VBOX_WITH_CRHGSMI 91 VBoxOGLcrutil_DEFS.win.x86 += VBOX_WITH_CRHGSMI 91 VBoxOGLcrutil_DEFS.win.x86 += VBOX_WITH_CRHGSMI 92 92 VBoxOGLcrutil_LIBS.win.x86 += $(VBOX_PATH_ADDITIONS_LIB)/VBoxCrHgsmi$(VBOX_SUFF_LIB) 93 93 endif … … 117 117 VBoxOGLhostcrutil_LIBS = $(LIB_RUNTIME) 118 118 ifdef VBOX_WITH_CRHGSMI 119 VBoxOGLhostcrutil_DEFS.win.x86 = $(subst VBOX_WITH_CRHGSMI,,$(VBoxOGLcrutil_DEFS.win.x86)) 119 VBoxOGLhostcrutil_DEFS.win.x86 = $(subst VBOX_WITH_CRHGSMI,,$(VBoxOGLcrutil_DEFS.win.x86)) 120 120 VBoxOGLhostcrutil_LIBS.win.x86 = $(subst $(VBOX_PATH_ADDITIONS_LIB)/VBoxCrHgsmi$(VBOX_SUFF_LIB),,$(VBoxOGLcrutil_LIBS.win.x86)) 121 121 endif -
trunk/src/VBox/HostDrivers/VBoxNetFlt/darwin/VBoxNetFlt-darwin.cpp
r33540 r33676 352 352 * 100%, even if it involves some extra work (alloc + copy) we really wished 353 353 * to avoid. 354 * 355 * Note. We can't make use of the physical addresses on darwin because the 356 * way the mbuf / cluster stuff works (see mbuf_data_to_physical and 354 * 355 * Note. We can't make use of the physical addresses on darwin because the 356 * way the mbuf / cluster stuff works (see mbuf_data_to_physical and 357 357 * mcl_to_paddr). 358 358 */ -
trunk/src/VBox/Main/ConsoleVRDPServer.cpp
r33590 r33676 1270 1270 int rc = VINF_SUCCESS; 1271 1271 1272 /* 1272 /* 1273 1273 * Check that a VRDE library name is set. 1274 1274 */ -
trunk/src/VBox/Runtime/generic/RTMpGetArraySize-generic.cpp
r32572 r33676 41 41 RT_EXPORT_SYMBOL(RTMpGetArraySize); 42 42 43 -
trunk/src/VBox/Runtime/generic/RTSemEventWait-2-ex-generic.cpp
r33036 r33676 52 52 RT_EXPORT_SYMBOL(RTSemEventWait); 53 53 54 -
trunk/src/VBox/Runtime/include/internal/mem.h
r33269 r33676 57 57 #endif 58 58 59 -
trunk/src/VBox/Runtime/r0drv/solaris/semevent-r0drv-solaris.c
r33269 r33676 341 341 } 342 342 343 -
trunk/src/VBox/Runtime/r3/posix/rtmempage-exec-mmap-posix.cpp
r33279 r33676 144 144 } 145 145 146 -
trunk/src/VBox/VMM/EMHwaccm.cpp
r32956 r33676 560 560 rc = VINF_SUCCESS; 561 561 } 562 562 563 563 564 564 /* -
trunk/src/VBox/VMM/PGMPool.cpp
r33540 r33676 175 175 cMaxPages = RT_ALIGN(cMaxPages, 16); 176 176 177 /** todo: 177 /** todo: 178 178 * We need to be much more careful with our allocation strategy here. 179 179 * For nested paging we don't need pool user info nor extents at all, but we can't check for nested paging here (too early during init to get a confirmation it can be used) -
trunk/src/VBox/VMM/VMM.cpp
r33540 r33676 415 415 STAM_REG(pVM, &pVM->vmm.s.StatRZRetToR3Rendezvous, STAMTYPE_COUNTER, "/VMM/RZRet/ToR3/Rendezvous", STAMUNIT_OCCURENCES, "Number of VINF_EM_RAW_TO_R3 returns."); 416 416 STAM_REG(pVM, &pVM->vmm.s.StatRZRetToR3Timer, STAMTYPE_COUNTER, "/VMM/RZRet/ToR3/Timer", STAMUNIT_OCCURENCES, "Number of VINF_EM_RAW_TO_R3 returns."); 417 STAM_REG(pVM, &pVM->vmm.s.StatRZRetToR3DMA, STAMTYPE_COUNTER, "/VMM/RZRet/ToR3/DMA", STAMUNIT_OCCURENCES, "Number of VINF_EM_RAW_TO_R3 returns."); 418 STAM_REG(pVM, &pVM->vmm.s.StatRZRetToR3CritSect, STAMTYPE_COUNTER, "/VMM/RZRet/ToR3/CritSect", STAMUNIT_OCCURENCES, "Number of VINF_EM_RAW_TO_R3 returns."); 417 STAM_REG(pVM, &pVM->vmm.s.StatRZRetToR3DMA, STAMTYPE_COUNTER, "/VMM/RZRet/ToR3/DMA", STAMUNIT_OCCURENCES, "Number of VINF_EM_RAW_TO_R3 returns."); 418 STAM_REG(pVM, &pVM->vmm.s.StatRZRetToR3CritSect, STAMTYPE_COUNTER, "/VMM/RZRet/ToR3/CritSect", STAMUNIT_OCCURENCES, "Number of VINF_EM_RAW_TO_R3 returns."); 419 419 STAM_REG(pVM, &pVM->vmm.s.StatRZRetTimerPending, STAMTYPE_COUNTER, "/VMM/RZRet/TimerPending", STAMUNIT_OCCURENCES, "Number of VINF_EM_RAW_TIMER_PENDING returns."); 420 420 STAM_REG(pVM, &pVM->vmm.s.StatRZRetInterruptPending, STAMTYPE_COUNTER, "/VMM/RZRet/InterruptPending", STAMUNIT_OCCURENCES, "Number of VINF_EM_RAW_INTERRUPT_PENDING returns."); -
trunk/src/VBox/VMM/VMMAll/PGMAllBth.h
r33540 r33676 1416 1416 AssertRelease(pPhysPage); 1417 1417 pgmTrackDerefGCPhys(pPool, pShwPage, pPhysPage, iPte); 1418 return; 1418 return; 1419 1419 } 1420 1420 # endif … … 2235 2235 PGM_BTH_NAME(SyncPageWorker)(pVCpu, &pPTDst->a[iPTDst], GCPtrCurPage, pShwPage, iPTDst); 2236 2236 Log2(("SyncPage: 4K+ %RGv PteSrc:{P=1 RW=1 U=1} PteDst=%08llx%s\n", 2237 GCPtrCurPage, 2237 GCPtrCurPage, 2238 2238 SHW_PTE_LOG64(pPTDst->a[iPTDst]), 2239 2239 SHW_PTE_IS_TRACK_DIRTY(pPTDst->a[iPTDst]) ? " Track-Dirty" : "")); … … 2255 2255 2256 2256 Log2(("SyncPage: 4K %RGv PteSrc:{P=1 RW=1 U=1}PteDst=%08llx%s\n", 2257 GCPtrPage, 2257 GCPtrPage, 2258 2258 SHW_PTE_LOG64(pPTDst->a[iPTDst]), 2259 2259 SHW_PTE_IS_TRACK_DIRTY(pPTDst->a[iPTDst]) ? " Track-Dirty" : ""));
Note:
See TracChangeset
for help on using the changeset viewer.