31 #include "code/vtableStubs.hpp"
32 #include "interpreter/interpreter.hpp"
33 #include "jvm_linux.h"
34 #include "memory/allocation.inline.hpp"
35 #include "mutex_linux.inline.hpp"
36 #include "nativeInst_sparc.hpp"
37 #include "os_share_linux.hpp"
38 #include "prims/jniFastGetField.hpp"
39 #include "prims/jvm.h"
40 #include "prims/jvm_misc.hpp"
41 #include "runtime/arguments.hpp"
42 #include "runtime/extendedPC.hpp"
43 #include "runtime/frame.inline.hpp"
44 #include "runtime/interfaceSupport.hpp"
45 #include "runtime/java.hpp"
46 #include "runtime/javaCalls.hpp"
47 #include "runtime/mutexLocker.hpp"
48 #include "runtime/osThread.hpp"
49 #include "runtime/sharedRuntime.hpp"
50 #include "runtime/stubRoutines.hpp"
51 #include "runtime/timer.hpp"
52 #include "thread_linux.inline.hpp"
53 #include "utilities/events.hpp"
54 #include "utilities/vmError.hpp"
55
56 // Linux/Sparc has rather obscure naming of registers in sigcontext
57 // different between 32 and 64 bits
58 #ifdef _LP64
59 #define SIG_PC(x) ((x)->sigc_regs.tpc)
60 #define SIG_NPC(x) ((x)->sigc_regs.tnpc)
61 #define SIG_REGS(x) ((x)->sigc_regs)
62 #else
63 #define SIG_PC(x) ((x)->si_regs.pc)
64 #define SIG_NPC(x) ((x)->si_regs.npc)
65 #define SIG_REGS(x) ((x)->si_regs)
66 #endif
67
68 // those are to reference registers in sigcontext
69 enum {
70 CON_G0 = 0,
71 CON_G1,
72 CON_G2,
|
31 #include "code/vtableStubs.hpp"
32 #include "interpreter/interpreter.hpp"
33 #include "jvm_linux.h"
34 #include "memory/allocation.inline.hpp"
35 #include "mutex_linux.inline.hpp"
36 #include "nativeInst_sparc.hpp"
37 #include "os_share_linux.hpp"
38 #include "prims/jniFastGetField.hpp"
39 #include "prims/jvm.h"
40 #include "prims/jvm_misc.hpp"
41 #include "runtime/arguments.hpp"
42 #include "runtime/extendedPC.hpp"
43 #include "runtime/frame.inline.hpp"
44 #include "runtime/interfaceSupport.hpp"
45 #include "runtime/java.hpp"
46 #include "runtime/javaCalls.hpp"
47 #include "runtime/mutexLocker.hpp"
48 #include "runtime/osThread.hpp"
49 #include "runtime/sharedRuntime.hpp"
50 #include "runtime/stubRoutines.hpp"
51 #include "runtime/thread.inline.hpp"
52 #include "runtime/timer.hpp"
53 #include "utilities/events.hpp"
54 #include "utilities/vmError.hpp"
55
56 // Linux/Sparc has rather obscure naming of registers in sigcontext
57 // different between 32 and 64 bits
58 #ifdef _LP64
59 #define SIG_PC(x) ((x)->sigc_regs.tpc)
60 #define SIG_NPC(x) ((x)->sigc_regs.tnpc)
61 #define SIG_REGS(x) ((x)->sigc_regs)
62 #else
63 #define SIG_PC(x) ((x)->si_regs.pc)
64 #define SIG_NPC(x) ((x)->si_regs.npc)
65 #define SIG_REGS(x) ((x)->si_regs)
66 #endif
67
68 // those are to reference registers in sigcontext
69 enum {
70 CON_G0 = 0,
71 CON_G1,
72 CON_G2,
|