18 * |
18 * |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
20 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 * |
22 * |
|
23 */ |
|
24 |
|
25 /* |
|
26 * This file has been modified by Loongson Technology in 2015. These |
|
27 * modifications are Copyright (c) 2015 Loongson Technology, and are made |
|
28 * available on the same license terms set forth above. |
23 */ |
29 */ |
24 |
30 |
25 #ifndef SHARE_VM_RUNTIME_THREADLOCALSTORAGE_HPP |
31 #ifndef SHARE_VM_RUNTIME_THREADLOCALSTORAGE_HPP |
26 #define SHARE_VM_RUNTIME_THREADLOCALSTORAGE_HPP |
32 #define SHARE_VM_RUNTIME_THREADLOCALSTORAGE_HPP |
27 |
33 |
48 static bool is_initialized(); |
54 static bool is_initialized(); |
49 |
55 |
50 // Machine dependent stuff |
56 // Machine dependent stuff |
51 #ifdef TARGET_OS_ARCH_linux_x86 |
57 #ifdef TARGET_OS_ARCH_linux_x86 |
52 # include "threadLS_linux_x86.hpp" |
58 # include "threadLS_linux_x86.hpp" |
|
59 #endif |
|
60 #ifdef TARGET_OS_ARCH_linux_mips |
|
61 # include "threadLS_linux_mips.hpp" |
53 #endif |
62 #endif |
54 #ifdef TARGET_OS_ARCH_linux_sparc |
63 #ifdef TARGET_OS_ARCH_linux_sparc |
55 # include "threadLS_linux_sparc.hpp" |
64 # include "threadLS_linux_sparc.hpp" |
56 #endif |
65 #endif |
57 #ifdef TARGET_OS_ARCH_linux_zero |
66 #ifdef TARGET_OS_ARCH_linux_zero |