VirtualBox

Changeset 2273 in vbox


Ignore:
Timestamp:
Apr 20, 2007 1:46:01 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
20633
Message:

Real and protected mode (no paging) implemenation of VerifyAccessSyncPage.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/VBox/VMM/VMMAll/PGMAllBth.h

    r2270 r2273  
    24642464
    24652465#elif PGM_GST_TYPE == PGM_TYPE_REAL || PGM_GST_TYPE == PGM_TYPE_PROT
     2466
     2467    VBOXPDE PdeSrc;
     2468    PdeSrc.au32[0]      = 0; /* faked so we don't have to #ifdef everything */
     2469    PdeSrc.n.u1Present  = 1;
     2470    PdeSrc.n.u1Write    = 1;
     2471    PdeSrc.n.u1Accessed = 1;
     2472    PdeSrc.n.u1User     = 1;
     2473
     2474    int rc = PGM_BTH_NAME(SyncPage)(pVM, PdeSrc, GCPtrPage, 1, 0);
     2475    AssertRC(rc);
     2476
    24662477    /* Everything is allowed */
    24672478    return VINF_SUCCESS;
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