VirtualBox

Ignore:
Timestamp:
Jul 14, 2021 10:44:42 PM (4 years ago)
Author:
vboxsync
Message:

DevPS2: The queue header member pszDesc is ring-3 only and must be wrapped in R3STRING when logging or it'll trigger SMAP panics.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Input/DevPS2M.cpp

    r87820 r90198  
    10621062    LogFlowFunc(("\n"));
    10631063
    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";
    10661066
    10671067#ifdef RT_STRICT
     
    11271127    This.u8State = AUX_STATE_ENABLED;
    11281128    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";
    11311131    /* Certain Windows touch pad drivers report a double tap as a press, then
    11321132     * a release-press-release all within a single 10ms interval.  Simulate
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