VirtualBox

Changeset 20902 in vbox for trunk


Ignore:
Timestamp:
Jun 24, 2009 6:26:25 PM (16 years ago)
Author:
vboxsync
Message:

VMM: nitpicking - just use default

Location:
trunk/src/VBox/VMM
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PDMDevMiscHlp.cpp

    r20876 r20902  
    158158    switch (enmType)
    159159    {
    160     case PDMAPICIRQ_HARDWARE:
    161         VMCPU_FF_SET(pVCpu, VMCPU_FF_INTERRUPT_APIC);
    162         break;
    163     case PDMAPICIRQ_NMI:
    164         VMCPU_FF_SET(pVCpu, VMCPU_FF_INTERRUPT_NMI);
    165         break;
    166     case PDMAPICIRQ_SMI:
    167         VMCPU_FF_SET(pVCpu, VMCPU_FF_INTERRUPT_SMI);
    168         break;
    169     case PDMAPICIRQ_INVALID:
    170     case PDMAPICIRQ_32BIT_HACK:
    171         AssertFailed();
    172         break;
     160        case PDMAPICIRQ_HARDWARE:
     161            VMCPU_FF_SET(pVCpu, VMCPU_FF_INTERRUPT_APIC);
     162            break;
     163        case PDMAPICIRQ_NMI:
     164            VMCPU_FF_SET(pVCpu, VMCPU_FF_INTERRUPT_NMI);
     165            break;
     166        case PDMAPICIRQ_SMI:
     167            VMCPU_FF_SET(pVCpu, VMCPU_FF_INTERRUPT_SMI);
     168            break;
     169        default:
     170            AssertMsgFailed(("enmType=%d\n", enmType));
     171            break;
    173172    }
    174173    REMR3NotifyInterruptSet(pVM, pVCpu);
  • trunk/src/VBox/VMM/VMMGC/PDMGCDevice.cpp

    r20876 r20902  
    424424    switch (enmType)
    425425    {
    426     case PDMAPICIRQ_HARDWARE:
    427         VMCPU_FF_SET(pVCpu, VMCPU_FF_INTERRUPT_APIC);
    428         break;
    429     case PDMAPICIRQ_NMI:
    430         VMCPU_FF_SET(pVCpu, VMCPU_FF_INTERRUPT_NMI);
    431         break;
    432     case PDMAPICIRQ_SMI:
    433         VMCPU_FF_SET(pVCpu, VMCPU_FF_INTERRUPT_SMI);
    434         break;
    435     case PDMAPICIRQ_INVALID:
    436     case PDMAPICIRQ_32BIT_HACK:
    437         AssertFailed();
    438         break;
     426        case PDMAPICIRQ_HARDWARE:
     427            VMCPU_FF_SET(pVCpu, VMCPU_FF_INTERRUPT_APIC);
     428            break;
     429        case PDMAPICIRQ_NMI:
     430            VMCPU_FF_SET(pVCpu, VMCPU_FF_INTERRUPT_NMI);
     431            break;
     432        case PDMAPICIRQ_SMI:
     433            VMCPU_FF_SET(pVCpu, VMCPU_FF_INTERRUPT_SMI);
     434            break;
     435        default:
     436            AssertMsgFailed(("enmType=%d\n", enmType));
     437            break;
    439438    }
    440439}
  • trunk/src/VBox/VMM/VMMR0/PDMR0Device.cpp

    r20876 r20902  
    440440    switch (enmType)
    441441    {
    442     case PDMAPICIRQ_HARDWARE:
    443         VMCPU_FF_SET(pVCpu, VMCPU_FF_INTERRUPT_APIC);
    444         break;
    445     case PDMAPICIRQ_NMI:
    446         VMCPU_FF_SET(pVCpu, VMCPU_FF_INTERRUPT_NMI);
    447         break;
    448     case PDMAPICIRQ_SMI:
    449         VMCPU_FF_SET(pVCpu, VMCPU_FF_INTERRUPT_SMI);
    450         break;
    451     case PDMAPICIRQ_INVALID:
    452     case PDMAPICIRQ_32BIT_HACK:
    453         AssertFailed();
    454         break;
     442        case PDMAPICIRQ_HARDWARE:
     443            VMCPU_FF_SET(pVCpu, VMCPU_FF_INTERRUPT_APIC);
     444            break;
     445        case PDMAPICIRQ_NMI:
     446            VMCPU_FF_SET(pVCpu, VMCPU_FF_INTERRUPT_NMI);
     447            break;
     448        case PDMAPICIRQ_SMI:
     449            VMCPU_FF_SET(pVCpu, VMCPU_FF_INTERRUPT_SMI);
     450            break;
     451        default:
     452            AssertMsgFailed(("enmType=%d\n", enmType));
     453            break;
    455454    }
    456455
     
    458457    if (VMMGetCpuId(pVM) != idCpu)
    459458    {
    460         switch(VMCPU_GET_STATE(pVCpu))
     459        switch (VMCPU_GET_STATE(pVCpu))
    461460        {
    462461            case VMCPUSTATE_STARTED_EXEC:
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