VirtualBox

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


Ignore:
Timestamp:
Mar 5, 2018 8:24:50 PM (7 years ago)
Author:
vboxsync
Message:

DevDMA: Handle I/O port access from ring-0 and raw-mode since we handle port 0x80 here. Port 0x80 is used both the our BIOS and the linux kernel for I/O delay / debugging, there is no need to go to ring-3 each time it is accessed.

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

Legend:

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

    r69500 r71210  
    6262#undef LOG_GROUP
    6363#include "../PC/DevHPET.cpp"
     64#undef LOG_GROUP
     65#include "../PC/DevDMA.cpp"
    6466#undef LOG_GROUP
    6567#include "../PC/DevLPC.cpp"
  • trunk/src/VBox/Devices/testcase/tstDeviceStructSizeRC.cpp

    r70964 r71210  
    6262#undef LOG_GROUP
    6363#include "../PC/DevIoApic.cpp"
     64#undef LOG_GROUP
     65#include "../PC/DevDMA.cpp"
    6466#undef LOG_GROUP
    6567#include "../Storage/DevATA.cpp"
     
    637639    GEN_CHECK_OFF(DEVPIC, StatClearedActiveSlaveIRQ);
    638640#endif
     641
     642    /* PC/DevPit-i8254.cpp */
     643    GEN_CHECK_SIZE(DMAState);
     644    GEN_CHECK_OFF(DMAState, DMAC);
     645    GEN_CHECK_OFF(DMAState, DMAC[0].ChState[0]);
     646    GEN_CHECK_OFF(DMAState, DMAC[0].ChState[1]);
     647    GEN_CHECK_OFF(DMAState, DMAC[0].u8Mask);
     648    GEN_CHECK_OFF(DMAState, DMAC[1].ChState[0]);
     649    GEN_CHECK_OFF(DMAState, DMAC[1].ChState[1]);
     650    GEN_CHECK_OFF(DMAState, DMAC[1].u8Mask);
    639651
    640652    /* PC/DevPit-i8254.cpp */
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