VirtualBox

Changeset 1832

Show
Ignore:
Timestamp:
03/30/07 16:17:08 (2 years ago)
Author:
vboxsync
Message:

CSAM updates

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/include/VBox/csam.h

    r1829 r1832  
    240240 
    241241/** 
    242  * Flush dirty code page
    243  * 
    244  * @returns VBox status code. 
    245  * @param   pVM         The VM to operate on. 
    246  */ 
    247 CSAMR3DECL(int) CSAMR3FlushDirtyPages(PVM pVM); 
     242 * Perform any pending action
     243 * 
     244 * @returns VBox status code. 
     245 * @param   pVM         The VM to operate on. 
     246 */ 
     247CSAMR3DECL(int) CSAMR3DoPendingAction(PVM pVM); 
    248248 
    249249/** 
  • trunk/include/VBox/pgm.h

    r1612 r1832  
    355355 * @retval  VINF_PGM_SYNC_CR3 if we're out of shadow pages or something like that. 
    356356 * @param   pVM         VM handle. 
    357  * @param   GCPtrPage   Page to invalidate
     357 * @param   GCPtrPage   Page to prefetch
    358358 */ 
    359359PGMDECL(int) PGMPrefetchPage(PVM pVM, RTGCPTR GCPtrPage); 
  • trunk/include/VBox/vm.h

    r1522 r1832  
    9191/** CSAM needs to scan the page that's being executed */ 
    9292#define VM_FF_CSAM_SCAN_PAGE            BIT(24) 
    93 /** CSAM needs to flush a code page that has been modified. */ 
    94 #define VM_FF_CSAM_FLUSH_DIRTY_PAGE     BIT(25) 
     93/** CSAM needs to do some homework. */ 
     94#define VM_FF_CSAM_PENDING_ACTION       BIT(25) 
    9595 
    9696/** Force return to Ring-3. */ 
     
    110110#define VM_FF_HIGH_PRIORITY_PRE_RAW_MASK (VM_FF_PGM_SYNC_CR3 | VM_FF_PGM_SYNC_CR3_NON_GLOBAL | VM_FF_SELM_SYNC_TSS | VM_FF_TRPM_SYNC_IDT | VM_FF_SELM_SYNC_GDT | VM_FF_SELM_SYNC_LDT | VM_FF_INHIBIT_INTERRUPTS) 
    111111/** High priority post-execution actions. */ 
    112 #define VM_FF_HIGH_PRIORITY_POST_MASK   (VM_FF_PDM_CRITSECT|VM_FF_CSAM_FLUSH_DIRTY_PAGE
     112#define VM_FF_HIGH_PRIORITY_POST_MASK   (VM_FF_PDM_CRITSECT|VM_FF_CSAM_PENDING_ACTION
    113113/** Normal priority post-execution actions. */ 
    114114#define VM_FF_NORMAL_PRIORITY_POST_MASK (VM_FF_TERMINATE | VM_FF_DBGF | VM_FF_RESET | VM_FF_CSAM_SCAN_PAGE) 
     
    120120#define VM_FF_ALL_MASK                  (~0U) 
    121121/** All the forced flags. */ 
    122 #define VM_FF_ALL_BUT_RAW_MASK          (~(VM_FF_HIGH_PRIORITY_PRE_RAW_MASK | VM_FF_CSAM_FLUSH_DIRTY_PAGE | VM_FF_PDM_CRITSECT)) 
     122#define VM_FF_ALL_BUT_RAW_MASK          (~(VM_FF_HIGH_PRIORITY_PRE_RAW_MASK | VM_FF_CSAM_PENDING_ACTION | VM_FF_PDM_CRITSECT)) 
    123123 
    124124/** @} */ 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy