VirtualBox

Changeset 14493 in vbox for trunk/src


Ignore:
Timestamp:
Nov 23, 2008 4:23:12 PM (16 years ago)
Author:
vboxsync
Message:

#1865: PGMR0DynMap init code written.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/PGMR0DynMap.cpp

    r14492 r14493  
    567567
    568568
     569/**
     570 * Maps a PTE.
     571 *
     572 * This will update the segment structure when new PTs are mapped.
     573 *
     574 * It also assumes that we (for paranoid reasons) wish to establish a mapping
     575 * chain from CR3 to the PT that all corresponds to the processor we're
     576 * currently running on, and go about this by running with interrupts disabled
     577 * and restarting from CR3 for every change.
     578 *
     579 * @returns VBox status code, VERR_TRY_AGAIN if we changed any mappings and had
     580 *          to re-enable interrupts.
     581 * @param   pThis       The dynamic mapping cache instance.
     582 * @param   pPgLvl      The paging level structure.
     583 * @param   pvPage      The page.
     584 * @param   pSeg        The segment.
     585 * @param   cMaxPTs     The max number of PTs expected in the segment.
     586 * @param   ppvPTE      Where to store the PTE address.
     587 */
    569588static int pgmR0DynMapPagingArrayMapPte(PPGMR0DYNMAP pThis, PPGMR0DYNMAPPGLVL pPgLvl, void *pvPage,
    570589                                        PPGMR0DYNMAPSEG pSeg, uint32_t cMaxPTs, void **ppvPTE)
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