VirtualBox

Changeset 46900 in vbox


Ignore:
Timestamp:
Jul 2, 2013 12:04:28 PM (12 years ago)
Author:
vboxsync
Message:

VMM/HM: Spaces, comment.

Location:
trunk/src/VBox/VMM/VMMR0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp

    r46892 r46900  
    118118 * it's contributory or benign. Page faults are handled separately.
    119119 */
    120 #define HMSVM_CONTRIBUTORY_XCPT_MASK  ( RT_BIT(X86_XCPT_GP) | RT_BIT(X86_XCPT_NP) | RT_BIT(X86_XCPT_SS) | RT_BIT(X86_XCPT_TS) \
     120#define HMSVM_CONTRIBUTORY_XCPT_MASK  (  RT_BIT(X86_XCPT_GP) | RT_BIT(X86_XCPT_NP) | RT_BIT(X86_XCPT_SS) | RT_BIT(X86_XCPT_TS) \
    121121                                       | RT_BIT(X86_XCPT_DE))
    122122/** @} */
  • trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp

    r46888 r46900  
    126126
    127127/**
    128  * Exception bitmap mask for real-mode guests (real-on-v86). We need to intercept all exceptions manually (except #PF).
    129  * #NM is also handled spearetely, see hmR0VmxLoadGuestControlRegs(). #PF need not be intercepted even in real-mode if
    130  * we have Nested Paging support.
     128 * @name Exception bitmap mask for real-mode guests (real-on-v86).
     129 *
     130 * We need to intercept all exceptions manually (except #PF). #NM is also
     131 * handled spearetely, see hmR0VmxLoadGuestControlRegs(). #PF need not be
     132 * intercepted even in real-mode if we have Nested Paging support.
    131133 */
    132134#define HMVMX_REAL_MODE_XCPT_MASK    (  RT_BIT(X86_XCPT_DE)             | RT_BIT(X86_XCPT_DB)    | RT_BIT(X86_XCPT_NMI)   \
     
    137139                                      | RT_BIT(X86_XCPT_MF)             | RT_BIT(X86_XCPT_AC)    | RT_BIT(X86_XCPT_MC)    \
    138140                                      | RT_BIT(X86_XCPT_XF))
    139 
    140 /**
    141  * Exception bitmap mask for all contributory exceptions.
    142  */
    143 #define HMVMX_CONTRIBUTORY_XCPT_MASK  ( RT_BIT(X86_XCPT_GP) | RT_BIT(X86_XCPT_NP) | RT_BIT(X86_XCPT_SS) | RT_BIT(X86_XCPT_TS) \
     141/** @} */
     142
     143/**
     144 * @name Exception bitmap mask for all contributory exceptions.
     145 *
     146 * Page fault is deliberately excluded here as it's conditional as to whether
     147 * it's contributory or benign. Page faults are handled separately.
     148 */
     149#define HMVMX_CONTRIBUTORY_XCPT_MASK  (  RT_BIT(X86_XCPT_GP) | RT_BIT(X86_XCPT_NP) | RT_BIT(X86_XCPT_SS) | RT_BIT(X86_XCPT_TS) \
    144150                                       | RT_BIT(X86_XCPT_DE))
     151/** @} */
    145152
    146153/** Maximum VM-instruction error number. */
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