VirtualBox

Changeset 13652

Show
Ignore:
Timestamp:
10/29/08 15:16:35 (2 months ago)
Author:
vboxsync
Message:

Solaris and general 32-bit compilation fixes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/include/VBox/vm.h

    r13572 r13652  
    700700 * Must be multiple of 32 and coherent with REM_ENV_SIZE from REMInternal.h. */ 
    701701#if GC_ARCH_BITS == 32 
    702 # define VM_REM_SIZE        (HC_ARCH_BITS == 32 ? 0xff00 : 0xff00) 
     702# define VM_REM_SIZE        (HC_ARCH_BITS == 32 ? 0x10800 : 0x10800) 
    703703#else 
    704704# define VM_REM_SIZE        (HC_ARCH_BITS == 32 ? 0x10900 : 0x10900) 
  • trunk/src/recompiler_new/Makefile.kmk

    r13649 r13652  
    6565        translate-all.c         \ 
    6666        host-utils.c            \ 
     67        cutils.c                \ 
    6768        tcg/tcg.c               \ 
    6869        tcg/tcg-dyngen.c        \ 
  • trunk/src/recompiler_new/VBoxRecompiler.c

    r13615 r13652  
    50455045#endif 
    50465046 
     5047void cpu_smm_update(CPUState* env) 
     5048{ 
     5049} 
  • trunk/src/recompiler_new/exec.c

    r13559 r13652  
    35723572#endif 
    35733573 
    3574 #ifndef VBOX 
    35753574/* virtual memory access for debug */ 
    35763575int cpu_memory_rw_debug(CPUState *env, target_ulong addr, 
     
    36573656} 
    36583657 
     3658#ifndef VBOX 
    36593659void dump_exec_info(FILE *f, 
    36603660                    int (*cpu_fprintf)(FILE *f, const char *fmt, ...)) 
  • trunk/src/recompiler_new/target-i386/helper.c

    r13440 r13652  
    518518} 
    519519 
     520void cpu_x86_close(CPUX86State *env) 
     521{ 
    520522#ifndef VBOX 
    521 void cpu_x86_close(CPUX86State *env) 
    522 { 
    523523    qemu_free(env); 
    524 
    525 #endif 
     524#endif 
     525
    526526 
    527527/***********************************************************/ 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy