VirtualBox

Ignore:
Timestamp:
Mar 28, 2016 6:28:22 PM (9 years ago)
Author:
vboxsync
Message:

asm-amd64-x86.h,*: made ASMInvalidatePage take a flat unsigned pointer instead of a void pointer (simpler for 16-bit mode). Added some of the bits for 1GB pages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMRC/CSAMRC.cpp

    r58123 r60228  
    8686        int rc = PGMShwMakePageWritable(pVCpu, pvFault, PGM_MK_PG_IS_WRITE_FAULT);
    8787        AssertMsgRC(rc, ("PGMShwModifyPage -> rc=%Rrc\n", rc));
    88         ASMInvalidatePage((void *)(uintptr_t)pvFault);
     88        ASMInvalidatePage((uintptr_t)pvFault);
    8989        return VINF_SUCCESS;
    9090    }
     
    128128    int rc = PGMShwMakePageWritable(pVCpu, pvFault, PGM_MK_PG_IS_WRITE_FAULT);
    129129    AssertMsgRC(rc, ("PGMShwModifyPage -> rc=%Rrc\n", rc));
    130     ASMInvalidatePage((void *)(uintptr_t)pvFault);
     130    ASMInvalidatePage((uintptr_t)pvFault);
    131131
    132132    STAM_COUNTER_INC(&pVM->csam.s.StatCodePageModified);
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