VirtualBox

Changeset 80804 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Sep 16, 2019 5:40:46 AM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
133371
Message:

VMM/CPUM: Nested VMX: bugref:9180 Clarify I/O port wrap around.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp

    r80803 r80804  
    24352435     * VM-exit.
    24362436     *
     2437     * Reading 1, 2, 4 bytes at ports 0xffff, 0xfffe and 0xfffc are valid and do not
     2438     * constitute a wrap around. However, reading 2 bytes at port 0xffff or 4 bytes
     2439     * from port 0xffff/0xfffe/0xfffd constitute a wrap around. In other words, any
     2440     * access to -both- ports 0xffff and port 0 is a wrap around.
     2441     *
    24372442     * See Intel spec. 25.1.3 "Instructions That Cause VM Exits Conditionally".
    24382443     */
    2439     /** @todo r=ramshankar: Reading 1, 2, 4 bytes at ports 0xfffe, 0xfffd and 0xfffb
    2440      *        respectively are valid and do not constitute a wrap around from what I
    2441      *        understand. Verify this later. */
     2444    /** @todo r=ramshankar: . Verify this later. */
    24422445    uint32_t const uPortLast = uPort + cbAccess;
    24432446    if (uPortLast > 0x10000)
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