VirtualBox

忽略:
時間撮記:
2008-10-6 上午02:15:39 (16 年 以前)
作者:
vboxsync
訊息:

VMM + VBox/cdefs.h: consolidated all the XYZ*DECLS of the VMM into VMM*DECL. Removed dead DECL and IN_XYZ* macros.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/VMM/VMMAll/EMAll.cpp

    r12801 r12989  
    7979 * @returns Current status.
    8080 */
    81 EMDECL(EMSTATE) EMGetState(PVM pVM)
     81VMMDECL(EMSTATE) EMGetState(PVM pVM)
    8282{
    8383    return pVM->em.s.enmState;
     
    9292 * @todo    This doesn't belong here, it should go in REMAll.cpp!
    9393 */
    94 EMDECL(void) EMFlushREMTBs(PVM pVM)
     94VMMDECL(void) EMFlushREMTBs(PVM pVM)
    9595{
    9696    Log(("EMFlushREMTBs\n"));
     
    161161 * @param   pcbInstr        Where to return the instruction size. (optional)
    162162 */
    163 EMDECL(int) EMInterpretDisasOne(PVM pVM, PCCPUMCTXCORE pCtxCore, PDISCPUSTATE pCpu, unsigned *pcbInstr)
     163VMMDECL(int) EMInterpretDisasOne(PVM pVM, PCCPUMCTXCORE pCtxCore, PDISCPUSTATE pCpu, unsigned *pcbInstr)
    164164{
    165165    RTGCPTR GCPtrInstr;
     
    186186 * @param   pcbInstr        Where to return the instruction size. (optional)
    187187 */
    188 EMDECL(int) EMInterpretDisasOneEx(PVM pVM, RTGCUINTPTR GCPtrInstr, PCCPUMCTXCORE pCtxCore, PDISCPUSTATE pCpu, unsigned *pcbInstr)
     188VMMDECL(int) EMInterpretDisasOneEx(PVM pVM, RTGCUINTPTR GCPtrInstr, PCCPUMCTXCORE pCtxCore, PDISCPUSTATE pCpu, unsigned *pcbInstr)
    189189{
    190190    int rc = DISCoreOneEx(GCPtrInstr, SELMGetCpuModeFromSelector(pVM, pCtxCore->eflags, pCtxCore->cs, (PCPUMSELREGHID)&pCtxCore->csHid),
     
    220220 *          to worry about e.g. invalid modrm combinations (!)
    221221 */
    222 EMDECL(int) EMInterpretInstruction(PVM pVM, PCPUMCTXCORE pRegFrame, RTGCPTR pvFault, uint32_t *pcbSize)
     222VMMDECL(int) EMInterpretInstruction(PVM pVM, PCPUMCTXCORE pRegFrame, RTGCPTR pvFault, uint32_t *pcbSize)
    223223{
    224224    RTGCPTR pbCode;
     
    272272 *          Make sure this can't happen!! (will add some assertions/checks later)
    273273 */
    274 EMDECL(int) EMInterpretInstructionCPU(PVM pVM, PDISCPUSTATE pCpu, PCPUMCTXCORE pRegFrame, RTGCPTR pvFault, uint32_t *pcbSize)
     274VMMDECL(int) EMInterpretInstructionCPU(PVM pVM, PDISCPUSTATE pCpu, PCPUMCTXCORE pRegFrame, RTGCPTR pvFault, uint32_t *pcbSize)
    275275{
    276276    STAM_PROFILE_START(&pVM->em.s.CTX_SUFF(pStats)->CTX_MID_Z(Stat,Emulate), a);
     
    295295 * @remark  This may raise exceptions.
    296296 */
    297 EMDECL(int) EMInterpretPortIO(PVM pVM, PCPUMCTXCORE pCtxCore, PDISCPUSTATE pCpu, uint32_t cbOp)
     297VMMDECL(int) EMInterpretPortIO(PVM pVM, PCPUMCTXCORE pCtxCore, PDISCPUSTATE pCpu, uint32_t cbOp)
    298298{
    299299    /*
     
    17031703 *
    17041704 */
    1705 EMDECL(int) EMInterpretIret(PVM pVM, PCPUMCTXCORE pRegFrame)
     1705VMMDECL(int) EMInterpretIret(PVM pVM, PCPUMCTXCORE pRegFrame)
    17061706{
    17071707    RTGCUINTPTR pIretStack = (RTGCUINTPTR)pRegFrame->esp;
     
    17681768 *
    17691769 */
    1770 EMDECL(int) EMInterpretInvlpg(PVM pVM, PCPUMCTXCORE pRegFrame, RTGCPTR pAddrGC)
     1770VMMDECL(int) EMInterpretInvlpg(PVM pVM, PCPUMCTXCORE pRegFrame, RTGCPTR pAddrGC)
    17711771{
    17721772    int rc;
     
    18411841 *
    18421842 */
    1843 EMDECL(int) EMInterpretCpuId(PVM pVM, PCPUMCTXCORE pRegFrame)
     1843VMMDECL(int) EMInterpretCpuId(PVM pVM, PCPUMCTXCORE pRegFrame)
    18441844{
    18451845    uint32_t iLeaf = pRegFrame->eax; NOREF(iLeaf);
     
    18721872 *
    18731873 */
    1874 EMDECL(int) EMInterpretCRxRead(PVM pVM, PCPUMCTXCORE pRegFrame, uint32_t DestRegGen, uint32_t SrcRegCrx)
     1874VMMDECL(int) EMInterpretCRxRead(PVM pVM, PCPUMCTXCORE pRegFrame, uint32_t DestRegGen, uint32_t SrcRegCrx)
    18751875{
    18761876    int      rc;
     
    19111911 *
    19121912 */
    1913 EMDECL(int) EMInterpretLMSW(PVM pVM, uint16_t u16Data)
     1913VMMDECL(int) EMInterpretLMSW(PVM pVM, uint16_t u16Data)
    19141914{
    19151915    uint64_t OldCr0 = CPUMGetGuestCR0(pVM);
     
    19351935 *
    19361936 */
    1937 EMDECL(int) EMInterpretCLTS(PVM pVM)
     1937VMMDECL(int) EMInterpretCLTS(PVM pVM)
    19381938{
    19391939    uint64_t cr0 = CPUMGetGuestCR0(pVM);
     
    19621962 *
    19631963 */
    1964 EMDECL(int) EMInterpretCRxWrite(PVM pVM, PCPUMCTXCORE pRegFrame, uint32_t DestRegCrx, uint32_t SrcRegGen)
     1964VMMDECL(int) EMInterpretCRxWrite(PVM pVM, PCPUMCTXCORE pRegFrame, uint32_t DestRegCrx, uint32_t SrcRegGen)
    19651965{
    19661966    uint64_t val;
     
    21232123 *
    21242124 */
    2125 EMDECL(int) EMInterpretDRxWrite(PVM pVM, PCPUMCTXCORE pRegFrame, uint32_t DestRegDrx, uint32_t SrcRegGen)
     2125VMMDECL(int) EMInterpretDRxWrite(PVM pVM, PCPUMCTXCORE pRegFrame, uint32_t DestRegDrx, uint32_t SrcRegGen)
    21262126{
    21272127    uint64_t val;
     
    21612161 *
    21622162 */
    2163 EMDECL(int) EMInterpretDRxRead(PVM pVM, PCPUMCTXCORE pRegFrame, uint32_t DestRegGen, uint32_t SrcRegDrx)
     2163VMMDECL(int) EMInterpretDRxRead(PVM pVM, PCPUMCTXCORE pRegFrame, uint32_t DestRegGen, uint32_t SrcRegDrx)
    21642164{
    21652165    uint64_t val64;
     
    23342334 *
    23352335 */
    2336 EMDECL(int) EMInterpretRdtsc(PVM pVM, PCPUMCTXCORE pRegFrame)
     2336VMMDECL(int) EMInterpretRdtsc(PVM pVM, PCPUMCTXCORE pRegFrame)
    23372337{
    23382338    unsigned uCR4 = CPUMGetGuestCR4(pVM);
     
    24842484 *
    24852485 */
    2486 EMDECL(int) EMInterpretRdmsr(PVM pVM, PCPUMCTXCORE pRegFrame)
     2486VMMDECL(int) EMInterpretRdmsr(PVM pVM, PCPUMCTXCORE pRegFrame)
    24872487{
    24882488    uint32_t u32Dummy, u32Features, cpl;
     
    26052605 * @param   pRegFrame   The register frame.
    26062606 */
    2607 EMDECL(int) EMInterpretWrmsr(PVM pVM, PCPUMCTXCORE pRegFrame)
     2607VMMDECL(int) EMInterpretWrmsr(PVM pVM, PCPUMCTXCORE pRegFrame)
    26082608{
    26092609    uint32_t u32Dummy, u32Features, cpl;
     
    29002900 * @param   PC          The PC.
    29012901 */
    2902 EMDECL(void) EMSetInhibitInterruptsPC(PVM pVM, RTGCUINTPTR PC)
     2902VMMDECL(void) EMSetInhibitInterruptsPC(PVM pVM, RTGCUINTPTR PC)
    29032903{
    29042904    pVM->em.s.GCPtrInhibitInterrupts = PC;
     
    29202920 *
    29212921 */
    2922 EMDECL(RTGCUINTPTR) EMGetInhibitInterruptsPC(PVM pVM)
     2922VMMDECL(RTGCUINTPTR) EMGetInhibitInterruptsPC(PVM pVM)
    29232923{
    29242924    return pVM->em.s.GCPtrInhibitInterrupts;
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette