VirtualBox

Changeset 56286 in vbox for trunk/src/VBox/VMM/VMMRC


Ignore:
Timestamp:
Jun 9, 2015 11:06:39 AM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
100867
Message:

Cleaned up all grep hits for 'VMMGC'.

Location:
trunk/src/VBox/VMM/VMMRC
Files:
6 edited

Legend:

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

    r56013 r56286  
    8585    LogFlow(("TRPMGCHyperReturnToHost: rc=%Rrc\n", rc));
    8686    TRPMResetTrap(pVCpu);
    87     VMMGCGuestToHost(pVM, rc);
     87    VMMRCGuestToHost(pVM, rc);
    8888    AssertReleaseFailed();
    8989}
  • trunk/src/VBox/VMM/VMMRC/TRPMRCHandlers.cpp

    r56047 r56286  
    121121*******************************************************************************/
    122122RT_C_DECLS_BEGIN
    123 /** Defined in VMMGC0.asm or VMMGC99.asm.
     123/** Defined in VMMRC0.asm or VMMRC99.asm.
    124124 * @{ */
    125125extern const TRPMGCHYPER g_aTrap0bHandlers[1];
  • trunk/src/VBox/VMM/VMMRC/VMMRC.cpp

    r54308 r56286  
    5858 * @returns VBox status code.
    5959 * @param   pVM         Pointer to the VM.
    60  * @param   uOperation  Which operation to execute (VMMGCOPERATION).
     60 * @param   uOperation  Which operation to execute (VMMRCOPERATION).
    6161 * @param   uArg        Argument to that operation.
    6262 */
    63 VMMRCDECL(int) VMMGCEntry(PVM pVM, unsigned uOperation, unsigned uArg, ...)
     63VMMRCDECL(int) VMMRCEntry(PVM pVM, unsigned uOperation, unsigned uArg, ...)
    6464{
    6565    /* todo */
     
    6969         * Init RC modules.
    7070         */
    71         case VMMGC_DO_VMMGC_INIT:
     71        case VMMRC_DO_VMMRC_INIT:
    7272        {
    7373            /*
     
    9292
    9393            int rc = RTRCInit(u64TS);
    94             Log(("VMMGCEntry: VMMGC_DO_VMMGC_INIT - uArg=%u (svn revision) u64TS=%RX64; rc=%Rrc\n", uArg, u64TS, rc));
     94            Log(("VMMRCEntry: VMMRC_DO_VMMRC_INIT - uArg=%u (svn revision) u64TS=%RX64; rc=%Rrc\n", uArg, u64TS, rc));
    9595            AssertRCReturn(rc, rc);
    9696
     
    107107         * It spins for a while with interrupts enabled.
    108108         */
    109         case VMMGC_DO_TESTCASE_HYPER_INTERRUPT:
     109        case VMMRC_DO_TESTCASE_HYPER_INTERRUPT:
    110110        {
    111111            uint32_t volatile i = 0;
     
    121121         * profiling of the switcher.
    122122         */
    123         case VMMGC_DO_TESTCASE_NOP:
     123        case VMMRC_DO_TESTCASE_NOP:
    124124            return 0;
    125125
     
    127127         * Testcase executes a privileged instruction to force a world switch. (in both SVM & VMX)
    128128         */
    129         case VMMGC_DO_TESTCASE_HM_NOP:
     129        case VMMRC_DO_TESTCASE_HM_NOP:
    130130            ASMRdMsr_Low(MSR_IA32_SYSENTER_CS);
    131131            return 0;
     
    134134         * Delay for ~100us.
    135135         */
    136         case VMMGC_DO_TESTCASE_INTERRUPT_MASKING:
     136        case VMMRC_DO_TESTCASE_INTERRUPT_MASKING:
    137137        {
    138138            uint64_t u64MaxTicks = (SUPGetCpuHzFromGip(g_pSUPGlobalInfoPage) != ~(uint64_t)0
     
    162162         */
    163163        default:
    164             if (    uOperation >= VMMGC_DO_TESTCASE_TRAP_FIRST
    165                 &&  uOperation < VMMGC_DO_TESTCASE_TRAP_LAST)
     164            if (    uOperation >= VMMRC_DO_TESTCASE_TRAP_FIRST
     165                &&  uOperation < VMMRC_DO_TESTCASE_TRAP_LAST)
    166166                return vmmGCTest(pVM, uOperation, uArg);
    167167            return VERR_INVALID_PARAMETER;
     
    192192 * @param   pVM             Pointer to the VM.
    193193 */
    194 VMMRCDECL(void) VMMGCLogFlushIfFull(PVM pVM)
     194VMMRCDECL(void) VMMRCLogFlushIfFull(PVM pVM)
    195195{
    196196    if (    pVM->vmm.s.pRCLoggerRC
     
    210210 * @param   rc          The status code.
    211211 */
    212 VMMRCDECL(void) VMMGCGuestToHost(PVM pVM, int rc)
     212VMMRCDECL(void) VMMRCGuestToHost(PVM pVM, int rc)
    213213{
    214214    pVM->vmm.s.pfnRCToHost(rc);
     
    273273    switch (uOperation)
    274274    {
    275         //case VMMGC_DO_TESTCASE_TRAP_0:
    276         //case VMMGC_DO_TESTCASE_TRAP_1:
    277         //case VMMGC_DO_TESTCASE_TRAP_2:
    278 
    279         case VMMGC_DO_TESTCASE_TRAP_3:
     275        //case VMMRC_DO_TESTCASE_TRAP_0:
     276        //case VMMRC_DO_TESTCASE_TRAP_1:
     277        //case VMMRC_DO_TESTCASE_TRAP_2:
     278
     279        case VMMRC_DO_TESTCASE_TRAP_3:
    280280        {
    281281            if (uArg <= 1)
     
    284284        }
    285285
    286         //case VMMGC_DO_TESTCASE_TRAP_4:
    287         //case VMMGC_DO_TESTCASE_TRAP_5:
    288         //case VMMGC_DO_TESTCASE_TRAP_6:
    289         //case VMMGC_DO_TESTCASE_TRAP_7:
    290 
    291         case VMMGC_DO_TESTCASE_TRAP_8:
     286        //case VMMRC_DO_TESTCASE_TRAP_4:
     287        //case VMMRC_DO_TESTCASE_TRAP_5:
     288        //case VMMRC_DO_TESTCASE_TRAP_6:
     289        //case VMMRC_DO_TESTCASE_TRAP_7:
     290
     291        case VMMRC_DO_TESTCASE_TRAP_8:
    292292        {
    293293#ifndef DEBUG_bird /** @todo dynamic check that this won't triple fault... */
     
    300300        }
    301301
    302         //VMMGC_DO_TESTCASE_TRAP_9,
    303         //VMMGC_DO_TESTCASE_TRAP_0A,
    304         //VMMGC_DO_TESTCASE_TRAP_0B,
    305         //VMMGC_DO_TESTCASE_TRAP_0C,
    306 
    307         case VMMGC_DO_TESTCASE_TRAP_0D:
     302        //VMMRC_DO_TESTCASE_TRAP_9,
     303        //VMMRC_DO_TESTCASE_TRAP_0A,
     304        //VMMRC_DO_TESTCASE_TRAP_0B,
     305        //VMMRC_DO_TESTCASE_TRAP_0C,
     306
     307        case VMMRC_DO_TESTCASE_TRAP_0D:
    308308        {
    309309            if (uArg <= 1)
     
    312312        }
    313313
    314         case VMMGC_DO_TESTCASE_TRAP_0E:
     314        case VMMRC_DO_TESTCASE_TRAP_0E:
    315315        {
    316316            if (uArg <= 1)
  • trunk/src/VBox/VMM/VMMRC/VMMRC.mac

    r55028 r56286  
    11; $Id$
    22;; @file
    3 ; VMMGC - Raw-mode Context Assembly Macros.
     3; VMMRC - Raw-mode Context Assembly Macros.
    44;
    55
    66;
    7 ; Copyright (C) 2006-2012 Oracle Corporation
     7; Copyright (C) 2006-2015 Oracle Corporation
    88;
    99; This file is part of VirtualBox Open Source Edition (OSE), as
     
    1616;
    1717
    18 %ifndef __VMMGC_mac__
    19 %define __VMMGC_mac__
     18%ifndef __VMMRC_mac__
     19%define __VMMRC_mac__
    2020
    2121%include "VBox/asmdefs.mac"
  • trunk/src/VBox/VMM/VMMRC/VMMRCA.asm

    r49893 r56286  
    11; $Id$
    22;; @file
    3 ; VMMGC - Raw-mode Context Virtual Machine Monitor assembly routines.
    4 ;
    5 
    6 ;
    7 ; Copyright (C) 2006-2012 Oracle Corporation
     3; VMMRC - Raw-mode Context Virtual Machine Monitor assembly routines.
     4;
     5
     6;
     7; Copyright (C) 2006-2015 Oracle Corporation
    88;
    99; This file is part of VirtualBox Open Source Edition (OSE), as
  • trunk/src/VBox/VMM/VMMRC/VMMRCDeps.cpp

    r44528 r56286  
    11/* $Id$ */
    22/** @file
    3  * VMMGC Runtime Dependencies.
     3 * VMMRC Runtime Dependencies.
    44 */
    55
     
    2626#endif // RT_OS_SOLARIS || RT_OS_FREEBSD
    2727
    28 PFNRT g_VMMGCDeps[] =
     28PFNRT g_VMMRCDeps[] =
    2929{
    3030    (PFNRT)memset,
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