29 // NOTE: we are back in class os here, not Linux 30 // 31 static jint (*atomic_xchg_func) (jint, volatile jint*); 32 static jint (*atomic_cmpxchg_func) (jint, volatile jint*, jint); 33 static jlong (*atomic_cmpxchg_long_func)(jlong, volatile jlong*, jlong); 34 static jint (*atomic_add_func) (jint, volatile jint*); 35 36 static jint atomic_xchg_bootstrap (jint, volatile jint*); 37 static jint atomic_cmpxchg_bootstrap (jint, volatile jint*, jint); 38 static jlong atomic_cmpxchg_long_bootstrap(jlong, volatile jlong*, jlong); 39 static jint atomic_add_bootstrap (jint, volatile jint*); 40 41 static void setup_fpu() {} 42 43 static bool is_allocatable(size_t bytes); 44 45 // Used to register dynamic code cache area with the OS 46 // Note: Currently only used in 64 bit Windows implementations 47 static bool register_code_area(char *low, char *high) { return true; } 48 49 #endif // OS_CPU_LINUX_SPARC_VM_OS_LINUX_SPARC_HPP | 29 // NOTE: we are back in class os here, not Linux 30 // 31 static jint (*atomic_xchg_func) (jint, volatile jint*); 32 static jint (*atomic_cmpxchg_func) (jint, volatile jint*, jint); 33 static jlong (*atomic_cmpxchg_long_func)(jlong, volatile jlong*, jlong); 34 static jint (*atomic_add_func) (jint, volatile jint*); 35 36 static jint atomic_xchg_bootstrap (jint, volatile jint*); 37 static jint atomic_cmpxchg_bootstrap (jint, volatile jint*, jint); 38 static jlong atomic_cmpxchg_long_bootstrap(jlong, volatile jlong*, jlong); 39 static jint atomic_add_bootstrap (jint, volatile jint*); 40 41 static void setup_fpu() {} 42 43 static bool is_allocatable(size_t bytes); 44 45 // Used to register dynamic code cache area with the OS 46 // Note: Currently only used in 64 bit Windows implementations 47 static bool register_code_area(char *low, char *high) { return true; } 48 49 // Amount beyond the callee frame size that we bang the stack. 50 // SPARC does not require the additional stack bang. 51 static int extra_bang_size_in_bytes() { return 0; } 52 53 #endif // OS_CPU_LINUX_SPARC_VM_OS_LINUX_SPARC_HPP |