VirtualBox

Changeset 29279 in vbox


Ignore:
Timestamp:
May 9, 2010 11:29:11 PM (15 years ago)
Author:
vboxsync
Message:

Runtime: Made solaris.sparc64 link and run.

Location:
trunk/src/VBox/Runtime
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/Makefile.kmk

    r29271 r29279  
    405405        generic/RTMpGetDescription-generic.cpp
    406406RuntimeR3_SOURCES.sparc32 += \
    407         generic/RTMpGetDescription-generic-stub.cpp
     407        generic/RTMpGetDescription-generic-stub.cpp \
     408        common/asm/asm-fake.cpp
    408409RuntimeR3_SOURCES.sparc64 += \
    409         generic/RTMpGetDescription-generic-stub.cpp
     410        generic/RTMpGetDescription-generic-stub.cpp \
     411        common/asm/asm-fake.cpp
    410412
    411413ifdef IPRT_WITH_LZJB
     
    11301132RuntimeR3NoCRTGCC_TEMPLATE = VBOXNOCRTGCC
    11311133RuntimeR3NoCRTGCC_LIBSUFF = $(VBOX_SUFF_LIB)
     1134ifn1of ($(KBUILD_TARGET_ARCH), amd64 x86)
     1135 RuntimeR3NoCRTGCC_DEFS  += RT_NO_GIP
     1136endif
    11321137RuntimeR3NoCRTGCC_INCS  = include
    11331138RuntimeR3NoCRTGCC_SOURCES  = \
     
    12041209RuntimeR0_TEMPLATE      = VBoxR0
    12051210RuntimeR0_DEFS          = IN_RT_R0 RT_WITH_VBOX
     1211ifn1of ($(KBUILD_TARGET_ARCH), amd64 x86)
     1212 RuntimeR0_DEFS        += RT_NO_GIP
     1213endif
    12061214RuntimeR0_INCS          = include
    12071215RuntimeR0_SOURCES       = \
  • trunk/src/VBox/Runtime/testcase/Makefile.kmk

    r28800 r29279  
    7676        tstRTMemCache \
    7777        tstRTMemPool \
    78         tstRTR0MemUserKernelDriver \
    7978        tstMove \
    8079        tstMp-1 \
     
    8786        tstRand \
    8887        tstRTFsQueries \
    89         tstRTR0SemMutexDriver \
    90         tstR0ThreadPreemptionDriver \
    9188        tstSemEvent \
    9289        tstSemMutex \
     
    114111        tstTimerLR \
    115112        tstRTTimeSpec \
    116         tstTSC \
    117113        tstUtf8 \
    118114        tstRTUuid
     
    137133        tstRTS3
    138134endif
    139 ifn1of ($(KBUILD_TARGET_ARCH), sparc32 sparc64)
     135if1of ($(KBUILD_TARGET_ARCH), amd64 x86)
    140136 PROGRAMS += \
    141137        tstLdr-2 \
    142138        tstLdr-3 \
    143139        tstLdr-4 \
    144         tstNoCrt-1
     140        tstNoCrt-1 \
     141        tstRTR0MemUserKernelDriver \
     142        tstRTR0SemMutexDriver \
     143        tstR0ThreadPreemptionDriver \
     144        tstTSC
    145145 SYSMODS += \
    146146        tstLdrObjR0 \
  • trunk/src/VBox/Runtime/testcase/tstInlineAsm.cpp

    r29271 r29279  
    10381038    CHECKVAL(u32, UINT32_C(0x80000000), "%#010RX32");
    10391039
     1040#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86)
    10401041    u64 = ASMMultU64ByU32DivByU32(UINT64_C(0x0000000000000001), UINT32_C(0x00000001), UINT32_C(0x00000001));
    10411042    CHECKVAL(u64, UINT64_C(0x0000000000000001), "%#018RX64");
     
    10531054    CHECKVAL(u64, UINT64_C(0x924719355cd35a27), "%#018RX64");
    10541055
    1055 #if 0 /* bird: question is whether this should trap or not:
     1056# if 0 /* bird: question is whether this should trap or not:
    10561057       *
    10571058       * frank: Of course it must trap:
     
    10831084    u64 = ASMMultU64ByU32DivByU32(UINT64_C(0xfffffff8c65d6731), UINT32_C(0x77d7daf8), UINT32_C(0x3b9aca00));
    10841085    CHECKVAL(u64, UINT64_C(0x02b8f9a2aa74e3dc), "%#018RX64");
    1085 #endif
     1086# endif
     1087#endif /* AMD64 || X86 */
    10861088
    10871089    u32 = ASMModU64ByU32RetU32(UINT64_C(0x0ffffff8c65d6731), UINT32_C(0x77d7daf8));
  • trunk/src/VBox/Runtime/testcase/tstTime-2.cpp

    r28800 r29279  
    7272
    7373    RTPrintf("tstTime-2: %u calls to RTTimeNanoTS\n", NUMBER_OF_CALLS);
     74#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86) /** @todo This isn't really x86 or AMD64 specific... */
    7475    RTPrintf("tstTime-2: RTTimeDbgSteps   -> %u (%d ppt)\n", RTTimeDbgSteps(),   ((uint64_t)RTTimeDbgSteps() * 1000) / NUMBER_OF_CALLS);
    7576    RTPrintf("tstTime-2: RTTimeDbgExpired -> %u (%d ppt)\n", RTTimeDbgExpired(), ((uint64_t)RTTimeDbgExpired() * 1000) / NUMBER_OF_CALLS);
    7677    RTPrintf("tstTime-2: RTTimeDbgBad     -> %u (%d ppt)\n", RTTimeDbgBad(),     ((uint64_t)RTTimeDbgBad() * 1000) / NUMBER_OF_CALLS);
    7778    RTPrintf("tstTime-2: RTTimeDbgRaces   -> %u (%d ppt)\n", RTTimeDbgRaces(),   ((uint64_t)RTTimeDbgRaces() * 1000) / NUMBER_OF_CALLS);
     79#endif
    7880
    7981    if (!cErrors)
  • trunk/src/VBox/Runtime/testcase/tstTime.cpp

    r28800 r29279  
    9595                 u64OSElapsedTS, u64RTElapsedTS, u64OSElapsedTS - u64RTElapsedTS);
    9696
     97#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86) /** @todo This isn't really x86 or AMD64 specific... */
    9798    RTPrintf("RTTimeDbgSteps   -> %u (%d ppt)\n", RTTimeDbgSteps(),   ((uint64_t)RTTimeDbgSteps() * 1000) / i);
    9899    RTPrintf("RTTimeDbgExpired -> %u (%d ppt)\n", RTTimeDbgExpired(), ((uint64_t)RTTimeDbgExpired() * 1000) / i);
    99100    RTPrintf("RTTimeDbgBad     -> %u (%d ppt)\n", RTTimeDbgBad(),     ((uint64_t)RTTimeDbgBad() * 1000) / i);
    100101    RTPrintf("RTTimeDbgRaces   -> %u (%d ppt)\n", RTTimeDbgRaces(),   ((uint64_t)RTTimeDbgRaces() * 1000) / i);
     102#endif
    101103    if (!cErrors)
    102104        RTPrintf("tstTime: SUCCESS\n");
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