VirtualBox

儲存庫 vbox 的更動 29266


忽略:
時間撮記:
2010-5-9 下午09:20:33 (15 年 以前)
作者:
vboxsync
訊息:

fix 64-bit sparc detection and correct the break instruction for same.

位置:
trunk/include/iprt
檔案:
修改 2 筆資料

圖例:

未更動
新增
刪除
  • trunk/include/iprt/asm.h

    r29263 r29266  
    27722772#  endif
    27732773# elif defined(RT_ARCH_SPARC64)
    2774 #  define ASMBreakpoint()       do { __asm__ __volatile__("illtrap $0\n\t") } while (0) /** @todo Sparc64: this is just a wild guess. */
     2774#  define ASMBreakpoint()       do { __asm__ __volatile__("illtrap 0\n\t") } while (0) /** @todo Sparc64: this is just a wild guess. */
    27752775# elif defined(RT_ARCH_SPARC)
    27762776#  define ASMBreakpoint()       do { __asm__ __volatile__("unimp 0\n\t"); } while (0)   /** @todo Sparc: this is just a wild guess (same as Sparc64, just different name). */
  • trunk/include/iprt/cdefs.h

    r29263 r29266  
    111111# elif defined(__i386__) || defined(_M_IX86) || defined(__X86__)
    112112#  define RT_ARCH_X86
    113 # elif defined(__sparc64__)
     113# elif defined(__sparcv9)
    114114#  define RT_ARCH_SPARC64
    115115# elif defined(__sparc__)
     
    16711671#  endif
    16721672# elif defined(RT_ARCH_SPARC64)
    1673 #  define RT_BREAKPOINT()       __asm__ __volatile__("illtrap $0\n\t")  /** @todo Sparc64: this is just a wild guess. */
     1673#  define RT_BREAKPOINT()       __asm__ __volatile__("illtrap 0\n\t")   /** @todo Sparc64: this is just a wild guess. */
    16741674# elif defined(RT_ARCH_SPARC)
    16751675#  define RT_BREAKPOINT()       __asm__ __volatile__("unimp 0\n\t")     /** @todo Sparc: this is just a wild guess (same as Sparc64, just different name). */
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette