VirtualBox

Changeset 71218 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Mar 5, 2018 9:19:35 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. [build fix]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/DevDMA.cpp

    r71216 r71218  
    123123    uint8_t     u8ModeCtr;      /* Mode register counter for reads. */
    124124    bool        fHiByte;        /* Byte pointer (T/F -> high/low). */
     125    uint8_t     abPadding0[2];
    125126    uint32_t    is16bit;        /* True for 16-bit DMA. */
     127    uint8_t     abPadding1[4];
    126128} DMAControl;
    127129
     
    132134    DMAControl              DMAC[2];    /* Two DMA controllers. */
    133135    bool                    fRZEnabled;
     136    uint8_t                 abPadding[7];
    134137} DMAState;
    135138
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