mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
update Thread field offsets to reflect recent additions
Every time we add or remove fields to Thread, we need to update the assembly code to reflect the new offsets.
This commit is contained in:
parent
e92674cb73
commit
29309fb414
@ -24,11 +24,11 @@
|
||||
# define GLOBAL(x) x
|
||||
#endif
|
||||
|
||||
#define THREAD_CONTINUATION 100
|
||||
#define THREAD_EXCEPTION 36
|
||||
#define THREAD_EXCEPTION_STACK_ADJUSTMENT 104
|
||||
#define THREAD_EXCEPTION_OFFSET 108
|
||||
#define THREAD_EXCEPTION_HANDLER 112
|
||||
#define THREAD_CONTINUATION 112
|
||||
#define THREAD_EXCEPTION 44
|
||||
#define THREAD_EXCEPTION_STACK_ADJUSTMENT 116
|
||||
#define THREAD_EXCEPTION_OFFSET 120
|
||||
#define THREAD_EXCEPTION_HANDLER 124
|
||||
|
||||
#define CONTINUATION_NEXT 4
|
||||
#define CONTINUATION_ADDRESS 16
|
||||
|
@ -10,11 +10,11 @@
|
||||
|
||||
#ifdef __x86_64__
|
||||
|
||||
#define THREAD_CONTINUATION 176
|
||||
#define THREAD_EXCEPTION 64
|
||||
#define THREAD_EXCEPTION_STACK_ADJUSTMENT 184
|
||||
#define THREAD_EXCEPTION_OFFSET 192
|
||||
#define THREAD_EXCEPTION_HANDLER 200
|
||||
#define THREAD_CONTINUATION 192
|
||||
#define THREAD_EXCEPTION 80
|
||||
#define THREAD_EXCEPTION_STACK_ADJUSTMENT 200
|
||||
#define THREAD_EXCEPTION_OFFSET 208
|
||||
#define THREAD_EXCEPTION_HANDLER 216
|
||||
|
||||
#define CONTINUATION_NEXT 8
|
||||
#define CONTINUATION_ADDRESS 32
|
||||
@ -89,11 +89,11 @@ LOCAL(vmInvoke_exit):
|
||||
|
||||
#elif defined __i386__
|
||||
|
||||
#define THREAD_CONTINUATION 100
|
||||
#define THREAD_EXCEPTION 36
|
||||
#define THREAD_EXCEPTION_STACK_ADJUSTMENT 104
|
||||
#define THREAD_EXCEPTION_OFFSET 108
|
||||
#define THREAD_EXCEPTION_HANDLER 112
|
||||
#define THREAD_CONTINUATION 108
|
||||
#define THREAD_EXCEPTION 44
|
||||
#define THREAD_EXCEPTION_STACK_ADJUSTMENT 112
|
||||
#define THREAD_EXCEPTION_OFFSET 116
|
||||
#define THREAD_EXCEPTION_HANDLER 120
|
||||
|
||||
#define CONTINUATION_NEXT 4
|
||||
#define CONTINUATION_ADDRESS 16
|
||||
|
Loading…
Reference in New Issue
Block a user