VirtualBox

Ignore:
Timestamp:
Oct 11, 2017 4:11:23 PM (7 years ago)
Author:
vboxsync
Message:

Global: replace fall-through comments with RT_FALL_THRU().
bugref:8192: gcc warnings

File:
1 edited

Legend:

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

    r67784 r69046  
    72707270            case X86_XCPT_AC:
    72717271                u32IntInfo |= VMX_EXIT_INTERRUPTION_INFO_ERROR_CODE_VALID;
    7272                 /* fall thru */
     7272                RT_FALL_THRU();
    72737273            default:
    72747274                u32IntInfo |= (VMX_EXIT_INTERRUPTION_INFO_TYPE_HW_XCPT << VMX_EXIT_INTERRUPTION_INFO_TYPE_SHIFT);
     
    82488248                AssertMsg(VMX_EXIT_INTERRUPTION_INFO_ERROR_CODE_IS_VALID(u32IntInfo),
    82498249                          ("Error-code-valid bit not set for exception that has an error code uVector=%#x\n", uVector));
    8250                 /* fall thru */
     8250                RT_FALL_THRU();
    82518251            default:
    82528252                break;
     
    1159111591        case VMX_EXIT_INTERRUPTION_INFO_TYPE_PRIV_SW_XCPT:  /* Privileged software exception. (#DB from ICEBP) */
    1159211592            Assert(uVector == X86_XCPT_DB);
    11593             /* fall thru */
     11593            RT_FALL_THRU();
    1159411594        case VMX_EXIT_INTERRUPTION_INFO_TYPE_SW_XCPT:       /* Software exception. (#BP or #OF) */
    1159511595            Assert(uVector == X86_XCPT_BP || uVector == X86_XCPT_OF || uIntType == VMX_EXIT_INTERRUPTION_INFO_TYPE_PRIV_SW_XCPT);
    11596             /* fall thru */
     11596            RT_FALL_THRU();
    1159711597        case VMX_EXIT_INTERRUPTION_INFO_TYPE_HW_XCPT:
    1159811598        {
     
    1244712447                    HMVMXCPU_GST_SET_UPDATED(pVCpu, HMVMX_UPDATED_GUEST_SYSENTER_ESP_MSR);
    1244812448                    break;
    12449                 case MSR_K8_FS_BASE:        /* fall thru */
     12449                case MSR_K8_FS_BASE:        RT_FALL_THRU();
    1245012450                case MSR_K8_GS_BASE:        HMCPU_CF_SET(pVCpu, HM_CHANGED_GUEST_SEGMENT_REGS);     break;
    1245112451                case MSR_K6_EFER:           /* already handled above */                             break;
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