VirtualBox

Changeset 12578 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Sep 18, 2008 2:58:57 PM (16 years ago)
Author:
vboxsync
Message:

Enable hardware breakpoint support for VT-x and AMD-V.

Location:
trunk/include/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/cpum.h

    r11946 r12578  
    10681068CPUMDECL(void) CPUMDeactivateGuestFPUState(PVM pVM);
    10691069
     1070/**
     1071 * Checks if the guest debug state is active
     1072 *
     1073 * @returns boolean
     1074 * @param   pVM         VM handle.
     1075 */
     1076CPUMDECL(bool) CPUMIsGuestDebugStateActive(PVM pVM);
     1077
     1078/**
     1079 * Mark the guest's debug state as inactive
     1080 *
     1081 * @returns boolean
     1082 * @param   pVM         VM handle.
     1083 */
     1084CPUMDECL(void) CPUMDeactivateGuestDebugtate(PVM pVM);
     1085
    10701086
    10711087/**
     
    12671283CPUMR0DECL(int) CPUMR0SaveGuestFPU(PVM pVM, PCPUMCTX pCtx);
    12681284
     1285/**
     1286 * Save guest debug state
     1287 *
     1288 * @returns VBox status code.
     1289 * @param   pVM         VM handle.
     1290 * @param   pCtx        CPU context
     1291 * @param   fDR6        Include DR6 or not
     1292 */
     1293CPUMR0DECL(int) CPUMR0SaveGuestDebugState(PVM pVM, PCPUMCTX pCtx, bool fDR6);
     1294
     1295/**
     1296 * Lazily sync in the debug state
     1297 *
     1298 * @returns VBox status code.
     1299 * @param   pVM         VM handle.
     1300 * @param   pCtx        CPU context
     1301 * @param   fDR6        Include DR6 or not
     1302 */
     1303CPUMR0DECL(int) CPUMR0LoadGuestDebugState(PVM pVM, PCPUMCTX pCtx, bool fDR6);
     1304
    12691305/** @} */
    12701306#endif
  • trunk/include/VBox/x86.h

    r12225 r12578  
    721721#define X86_DR7_ENABLED_MASK                (RT_BIT(0) | RT_BIT(1) | RT_BIT(2) | RT_BIT(3) | RT_BIT(4) | RT_BIT(5) | RT_BIT(6) | RT_BIT(7))
    722722
     723/** Value of DR7 after powerup/reset. */
     724#define X86_DR7_INIT_VAL                    0x400
    723725/** @} */
    724726
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