VirtualBox

Changeset 9669 in vbox


Ignore:
Timestamp:
Jun 12, 2008 7:26:45 PM (17 years ago)
Author:
vboxsync
Message:

warnings

Location:
trunk/src/VBox
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Disassembler/DisasmTables.cpp

    r9285 r9669  
    5454//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    5555
     56#ifndef DIS_CORE_ONLY
    5657static char SZINVALID_OPCODE[] = "Invalid Opcode";
     58#endif
    5759
    5860#define INVALID_OPCODE  \
  • trunk/src/VBox/Disassembler/DisasmTablesX64.cpp

    r8999 r9669  
    5454//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    5555
     56#ifndef DIS_CORE_ONLY
    5657static char SZINVALID_OPCODE[] = "Invalid Opcode";
     58#endif
    5759
    5860#define INVALID_OPCODE  \
  • trunk/src/VBox/VMM/PGM.cpp

    r9661 r9669  
    26492649            rc = PGM_SHW_NAME_AMD64(InitData)(      pVM, pModeData, fResolveGCAndR0); AssertRCReturn(rc, rc);
    26502650        }
     2651        break;
     2652    default:
     2653        AssertFailed();
    26512654        break;
    26522655    }
  • trunk/src/VBox/VMM/VMMR0/HWACCMR0.cpp

    r9421 r9669  
    636636HWACCMR0DECL(int) HWACCMR0InitVM(PVM pVM)
    637637{
    638     int rc = VINF_SUCCESS;
    639 
    640638    AssertReturn(pVM, VERR_INVALID_PARAMETER);
    641639
     
    680678HWACCMR0DECL(int) HWACCMR0TermVM(PVM pVM)
    681679{
    682     int rc = VINF_SUCCESS;
    683 
    684680    AssertReturn(pVM, VERR_INVALID_PARAMETER);
    685681
     
    701697HWACCMR0DECL(int) HWACCMR0SetupVM(PVM pVM)
    702698{
    703     int rc = VINF_SUCCESS;
    704 
    705699    AssertReturn(pVM, VERR_INVALID_PARAMETER);
    706700
  • trunk/src/VBox/VMM/VMMSwitcher/PAEand32Bit.mac

    r9420 r9669  
    237237%endif
    238238    mov     eax, cr0
    239     and     eax, ~X86_CR0_PG
     239    and     eax, (~X86_CR0_PG) & 0xffffffff ; prevent yasm warning
    240240    mov     cr0, eax
    241241    DEBUG_CHAR('4')
     
    759759%endif
    760760    mov     eax, cr0
    761     and     eax, ~X86_CR0_PG
     761    and     eax, (~X86_CR0_PG) & 0xffffffff ; prevent yasm warning
    762762    mov     cr0, eax
    763763    DEBUG_CHAR('2')
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