VirtualBox

Changeset 19234 in vbox


Ignore:
Timestamp:
Apr 28, 2009 12:44:14 PM (16 years ago)
Author:
vboxsync
Message:

Real & protected mode without paging entry: contruct a fake address which is unique across VCPUs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PGMBth.h

    r19141 r19234  
    166166    }
    167167
    168     /* contruct a fake address */
    169     GCPhysCR3 = RT_BIT_64(63);
     168    /* contruct a fake address which is unique across VCPUs. */
     169    GCPhysCR3 = RT_BIT_64(63) | ((uint64_t)pVCpu->idCpu << 32);
    170170    pVCpu->pgm.s.iShwUser      = SHW_POOL_ROOT_IDX;
    171171    pVCpu->pgm.s.iShwUserTable = GCPhysCR3 >> PAGE_SHIFT;
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