- 時間撮記:
- 2015-3-3 下午08:28:01 (10 年 以前)
- svn:sync-xref-src-repo-rev:
- 98751
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-solaris.c
r50753 r54608 5 5 6 6 /* 7 * Copyright (C) 2007-201 2Oracle Corporation7 * Copyright (C) 2007-2015 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 329 329 * Call the common device extension initializer. 330 330 */ 331 rc = V BoxGuestInitDevExt(&g_DevExt, g_uIOPortBase, g_pMMIOBase, g_cbMMIO,331 rc = VbgdCommonInitDevExt(&g_DevExt, g_uIOPortBase, g_pMMIOBase, g_cbMMIO, 332 332 #if ARCH_BITS == 64 333 VBOXOSTYPE_Solaris_x64,333 VBOXOSTYPE_Solaris_x64, 334 334 #else 335 VBOXOSTYPE_Solaris,335 VBOXOSTYPE_Solaris, 336 336 #endif 337 VMMDEV_EVENT_MOUSE_POSITION_CHANGED);337 VMMDEV_EVENT_MOUSE_POSITION_CHANGED); 338 338 if (RT_SUCCESS(rc)) 339 339 { … … 347 347 348 348 LogRel((DEVICE_NAME "::Attach: ddi_create_minor_node failed.\n")); 349 V BoxGuestDeleteDevExt(&g_DevExt);349 VbgdCommonDeleteDevExt(&g_DevExt); 350 350 } 351 351 else 352 LogRel((DEVICE_NAME "::Attach: V BoxGuestInitDevExt failed.\n"));352 LogRel((DEVICE_NAME "::Attach: VbgdCommonInitDevExt failed.\n")); 353 353 VBoxGuestSolarisRemoveIRQ(pDip); 354 354 } … … 404 404 ddi_regs_map_free(&g_PciMMIOHandle); 405 405 ddi_remove_minor_node(pDip, NULL); 406 V BoxGuestDeleteDevExt(&g_DevExt);406 VbgdCommonDeleteDevExt(&g_DevExt); 407 407 g_pDip = NULL; 408 408 return DDI_SUCCESS; … … 515 515 * Create a new session. 516 516 */ 517 rc = V BoxGuestCreateUserSession(&g_DevExt, &pSession);517 rc = VbgdCommonCreateUserSession(&g_DevExt, &pSession); 518 518 if (RT_SUCCESS(rc)) 519 519 { … … 528 528 ddi_soft_state_free(g_pVBoxGuestSolarisState, iOpenInstance); 529 529 530 LogRel((DEVICE_NAME "::Open: V BoxGuestCreateUserSession failed. rc=%d\n", rc));530 LogRel((DEVICE_NAME "::Open: VbgdCommonCreateUserSession failed. rc=%d\n", rc)); 531 531 return EFAULT; 532 532 } … … 559 559 * Close the session. 560 560 */ 561 V BoxGuestCloseSession(&g_DevExt, pSession);561 VbgdCommonCloseSession(&g_DevExt, pSession); 562 562 return 0; 563 563 } … … 694 694 */ 695 695 size_t cbDataReturned = 0; 696 rc = V BoxGuestCommonIOCtl(Cmd, &g_DevExt, pSession, pvBuf, ReqWrap.cbData, &cbDataReturned);696 rc = VbgdCommonIoCtl(Cmd, &g_DevExt, pSession, pvBuf, ReqWrap.cbData, &cbDataReturned); 697 697 if (RT_SUCCESS(rc)) 698 698 { … … 721 721 * which are not really failures that require logging. 722 722 */ 723 Log((DEVICE_NAME "::IOCtl: V BoxGuestCommonIOCtl failed. Cmd=%#x rc=%d\n", Cmd, rc));723 Log((DEVICE_NAME "::IOCtl: VbgdCommonIoCtl failed. Cmd=%#x rc=%d\n", Cmd, rc)); 724 724 if (rc == VERR_PERMISSION_DENIED) /* RTErrConvertToErrno() below will ring-0 debug assert if we don't do this. */ 725 725 rc = VERR_ACCESS_DENIED; … … 894 894 895 895 mutex_enter(&g_IrqMtx); 896 bool fOurIRQ = V BoxGuestCommonISR(&g_DevExt);896 bool fOurIRQ = VbgdCommonISR(&g_DevExt); 897 897 mutex_exit(&g_IrqMtx); 898 898 … … 901 901 902 902 903 void V BoxGuestNativeISRMousePollEvent(PVBOXGUESTDEVEXT pDevExt)903 void VbgdNativeISRMousePollEvent(PVBOXGUESTDEVEXT pDevExt) 904 904 { 905 905 LogFlow((DEVICE_NAME "::NativeISRMousePollEvent:\n"));
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器