VirtualBox

Changeset 44806 in vbox for trunk/src/VBox/Devices/testcase


Ignore:
Timestamp:
Feb 22, 2013 8:47:57 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
83926
Message:

DevPS2.cpp++: Drop two critsects in favor of the default device critsect. This is simpler and avoid confusion as to the locking saftety of the PS2KByteFromKbd and PS2KByteToKbd interfaces exposed by PS2K and used by DevPS2. Misc cleanups (didn't do a full cleanup, sorry).

Location:
trunk/src/VBox/Devices/testcase
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/testcase/tstDeviceStructSize.cpp

    r44804 r44806  
    296296    CHECK_MEMBER_ALIGNMENT(IOAPIC, StatMMIOReadGC, 8);
    297297#endif
    298     CHECK_MEMBER_ALIGNMENT(KBDState, CritSect, 8);
    299     CHECK_MEMBER_ALIGNMENT(PS2K, KbdCritSect, 8);
    300298    CHECK_MEMBER_ALIGNMENT(LSILOGISCSI, ReplyPostQueueCritSect, 8);
    301299    CHECK_MEMBER_ALIGNMENT(LSILOGISCSI, ReplyFreeQueueCritSect, 8);
  • trunk/src/VBox/Devices/testcase/tstDeviceStructSizeRC.cpp

    r44804 r44806  
    392392    GEN_CHECK_OFF(KBDState, pDevInsR0);
    393393    GEN_CHECK_OFF(KBDState, pDevInsRC);
    394     GEN_CHECK_OFF(KBDState, CritSect);
    395394    GEN_CHECK_SIZE(KbdKeyQ);
    396395    GEN_CHECK_OFF(KbdCmdQ, rpos);
     
    414413    GEN_CHECK_OFF(PS2K, pKbdTypematicTimerR3);
    415414    GEN_CHECK_OFF(PS2K, pKbdTypematicTimerR0);
     415    GEN_CHECK_OFF(PS2K, pCritSectR3);
    416416    GEN_CHECK_OFF(PS2K, Keyboard.IBase);
    417417    GEN_CHECK_OFF(PS2K, Keyboard.IPort);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette