VirtualBox

Changeset 33540 in vbox for trunk/src/VBox/VMM/IOM.cpp


Ignore:
Timestamp:
Oct 28, 2010 9:27:05 AM (14 years ago)
Author:
vboxsync
Message:

*: spelling fixes, thanks Timeless!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/IOM.cpp

    r30050 r33540  
    3131 * In raw-mode I/O port access is trapped (\#GP(0)) by ensuring that the actual
    3232 * IOPL is 0 regardless of what the guest IOPL is. The \#GP handler use the
    33  * dissassembler (DIS) to figure which instruction caused it (there are a number
     33 * disassembler (DIS) to figure which instruction caused it (there are a number
    3434 * of instructions in addition to the I/O ones) and if it's an I/O port access
    3535 * it will hand it to IOMGCIOPortHandler (via EMInterpretPortIO).
     
    3838 * taken. (Default action is to write into the void and read all set bits.)
    3939 *
    40  * Memory Mapped I/O (MMIO) is implemented as a sligtly special case of PGM
     40 * Memory Mapped I/O (MMIO) is implemented as a slightly special case of PGM
    4141 * access handlers. An MMIO range is registered with IOM which then registers it
    4242 * with the PGM access handler sub-system. The access handler catches all
    4343 * access and will be called in the context of a \#PF handler. In RC and R0 this
    44  * handler is IOMMMIOHandler while in ring-3 it's IOMR3MMIOHandler (althought in
     44 * handler is IOMMMIOHandler while in ring-3 it's IOMR3MMIOHandler (although in
    4545 * ring-3 there can be alternative ways). IOMMMIOHandler will attempt to emulate
    4646 * the instruction that is doing the access and pass the corresponding reads /
    4747 * writes to the device.
    4848 *
    49  * Emulating I/O port access is less complex and should be sligtly faster than
     49 * Emulating I/O port access is less complex and should be slightly faster than
    5050 * emulating MMIO, so in most cases we should encourage the OS to use port I/O.
    51  * Devices which are freqently accessed should register GC handlers to speed up
     51 * Devices which are frequently accessed should register GC handlers to speed up
    5252 * execution.
    5353 *
     
    488488 *
    489489 * This API is called by PDM on behalf of a device. Devices must first register
    490  * ring-3 ranges before any GC and R0 ranges can be registerd using IOMR3IOPortRegisterRC()
     490 * ring-3 ranges before any GC and R0 ranges can be registered using IOMR3IOPortRegisterRC()
    491491 * and IOMR3IOPortRegisterR0().
    492492 *
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