Changeset 90198 in vbox for trunk/src/VBox
- Timestamp:
- Jul 14, 2021 10:44:42 PM (4 years ago)
- Location:
- trunk/src/VBox/Devices/Input
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Input/DevPS2.cpp
r83443 r90198 731 731 { 732 732 Assert(cElements > 0); 733 LogFlowFunc(("Clearing %s queue %p\n", pQHdr->pszDesc, pQHdr));733 LogFlowFunc(("Clearing %s queue %p\n", R3STRING(pQHdr->pszDescR3), pQHdr)); 734 734 pQHdr->wpos = pQHdr->rpos = pQHdr->rpos % cElements; 735 735 pQHdr->cUsed = 0; … … 764 764 pQHdr->cUsed = cUsed + 1; 765 765 766 LogRelFlowFunc(("inserted %#04x into %s queue %p\n", bValue, pQHdr->pszDesc, pQHdr));766 LogRelFlowFunc(("inserted %#04x into %s queue %p\n", bValue, R3STRING(pQHdr->pszDescR3), pQHdr)); 767 767 } 768 768 else 769 769 { 770 770 Assert(cUsed == cElements); 771 LogRelFlowFunc(("%s queue %p full (%zu entries)\n", pQHdr->pszDesc, pQHdr, cElements));771 LogRelFlowFunc(("%s queue %p full (%zu entries)\n", R3STRING(pQHdr->pszDescR3), pQHdr, cElements)); 772 772 } 773 773 } … … 804 804 pQHdr->cUsed = cUsed - 1; 805 805 806 LogFlowFunc(("removed 0x%02X from %s queue %p\n", *pbValue, pQHdr->pszDesc, pQHdr));806 LogFlowFunc(("removed 0x%02X from %s queue %p\n", *pbValue, R3STRING(pQHdr->pszDescR3), pQHdr)); 807 807 rc = VINF_SUCCESS; 808 808 } 809 809 else 810 810 { 811 LogFlowFunc(("%s queue %p empty\n", pQHdr->pszDesc, pQHdr));811 LogFlowFunc(("%s queue %p empty\n", R3STRING(pQHdr->pszDescR3), pQHdr)); 812 812 rc = VINF_TRY_AGAIN; 813 813 } … … 835 835 pHlp->pfnSSMPutU32(pSSM, cItems); 836 836 837 LogFlow(("Storing %u items from %s queue %p\n", cItems, pQHdr->pszDesc , pQHdr));837 LogFlow(("Storing %u items from %s queue %p\n", cItems, pQHdr->pszDescR3, pQHdr)); 838 838 839 839 /* Save queue data - only the bytes actually used (typically zero). */ … … 860 860 AssertRCReturn(rc, rc); 861 861 862 LogFlow(("Loading %u items to %s queue %p\n", cUsed, pQHdr->pszDesc , pQHdr));862 LogFlow(("Loading %u items to %s queue %p\n", cUsed, pQHdr->pszDescR3, pQHdr)); 863 863 864 864 AssertMsgReturn(cUsed <= cElements, ("Saved size=%u, actual=%zu\n", cUsed, cElements), -
trunk/src/VBox/Devices/Input/DevPS2.h
r89935 r90198 34 34 typedef struct PS2QHDR 35 35 { 36 uint32_t volatile rpos;37 uint32_t volatile wpos;38 uint32_t volatile cUsed;39 uint32_t uPadding;40 const char *pszDesc;36 uint32_t volatile rpos; 37 uint32_t volatile wpos; 38 uint32_t volatile cUsed; 39 uint32_t uPadding; 40 R3PTRTYPE(const char *) pszDescR3; 41 41 } PS2QHDR; 42 42 /** Pointer to a queue header. */ -
trunk/src/VBox/Devices/Input/DevPS2K.cpp
r89982 r90198 1473 1473 pThisCC->Keyboard.IPort.pfnPutEventHid = ps2kR3KeyboardPort_PutEventHid; 1474 1474 1475 pThis->cmdQ.Hdr.pszDesc = "Kbd Cmd";1476 pThis->keyQ.Hdr.pszDesc = "Kbd Key";1475 pThis->cmdQ.Hdr.pszDescR3 = "Kbd Cmd"; 1476 pThis->keyQ.Hdr.pszDescR3 = "Kbd Key"; 1477 1477 1478 1478 /* -
trunk/src/VBox/Devices/Input/DevPS2M.cpp
r87820 r90198 1062 1062 LogFlowFunc(("\n")); 1063 1063 1064 pThis->cmdQ.Hdr.pszDesc = "Aux Cmd";1065 pThis->evtQ.Hdr.pszDesc = "Aux Evt";1064 pThis->cmdQ.Hdr.pszDescR3 = "Aux Cmd"; 1065 pThis->evtQ.Hdr.pszDescR3 = "Aux Evt"; 1066 1066 1067 1067 #ifdef RT_STRICT … … 1127 1127 This.u8State = AUX_STATE_ENABLED; 1128 1128 This.fThrottleActive = true; 1129 This.cmdQ.Hdr.pszDesc = "Test Aux Cmd";1130 This.evtQ.Hdr.pszDesc = "Test Aux Evt";1129 This.cmdQ.Hdr.pszDescR3 = "Test Aux Cmd"; 1130 This.evtQ.Hdr.pszDescR3 = "Test Aux Evt"; 1131 1131 /* Certain Windows touch pad drivers report a double tap as a press, then 1132 1132 * a release-press-release all within a single 10ms interval. Simulate
Note:
See TracChangeset
for help on using the changeset viewer.