VirtualBox

Changeset 104508 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
May 3, 2024 2:09:24 PM (9 months ago)
Author:
vboxsync
Message:

VMM: Some more GCM cleanup. bugref:9735 bugref:10683

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/GCM.cpp

    r104507 r104508  
    44
    55/*
    6  * Copyright (C) 2022-2023 Oracle and/or its affiliates.
     6 * Copyright (C) 2022-2024 Oracle and/or its affiliates.
    77 *
    88 * This file is part of VirtualBox base platform packages, as
     
    2727/** @page pg_gcm        GCM - The Guest Compatibility Manager
    2828 *
    29  * The Guest Compatibility Manager provides run-time compatibility fixes
    30  * for certain known guest bugs.
     29 * The Guest Compatibility Manager provides run-time compatibility fixes for
     30 * certain known guest bugs.
    3131 *
    3232 * @see grp_gcm
     
    4545 * chance that a fix could be misapplied.
    4646 *
    47  * The fixers are invisible to a guest. A common problem is division by zero
    48  * caused by a software timing loop which cannot deal with fast CPUs (where
    49  * "fast" very much depends on the era when the software was written). A fixer
    50  * intercepts division by zero, recognizes known register contents and code
    51  * sequence, modifies one or more registers to avoid a divide error, and
    52  * restarts the instruction.
    53  *
    54  * It is not expected that the set of active fixers would be changed during
    55  * the lifetime of the VM.
     47 * The fixers are invisible to a guest. It is not expected that the set of
     48 * active fixers would be changed during the lifetime of the VM.
     49 *
     50 *
     51 * @subsection sec_gcm_fixer_div_by_zero  Division By Zero
     52 *
     53 * A common problem is division by zero caused by a software timing loop which
     54 * cannot deal with fast CPUs (where "fast" very much depends on the era when
     55 * the software was written). A fixer intercepts division by zero, recognizes
     56 * known register contents and code sequence, modifies one or more registers to
     57 * avoid a divide error, and restarts the instruction.
     58 *
    5659 */
    5760
     
    6063*   Header Files                                                                                                                 *
    6164*********************************************************************************************************************************/
    62 #define LOG_GROUP LOG_GROUP_GIM
     65#define LOG_GROUP LOG_GROUP_GCM
    6366#include <VBox/vmm/gcm.h>
    64 #include <VBox/vmm/hm.h>
    6567#include <VBox/vmm/ssm.h>
    66 #include <VBox/vmm/pdmdev.h>
    6768#include "GCMInternal.h"
    6869#include <VBox/vmm/vm.h>
    6970
    7071#include <VBox/log.h>
    71 
    72 #include <iprt/err.h>
    73 #include <iprt/semaphore.h>
     72#include <VBox/err.h>
     73
    7474#include <iprt/string.h>
    7575
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