|
@@ -76,7 +76,7 @@ struct emulated_sigtable {
|
|
/*
|
|
/*
|
|
* NOTE: we force a big alignment so that the stack stored after is aligned too
|
|
* NOTE: we force a big alignment so that the stack stored after is aligned too
|
|
*/
|
|
*/
|
|
-typedef struct TaskState {
|
|
|
|
|
|
+struct TaskState {
|
|
pid_t ts_tid; /* tid (or pid) of this task */
|
|
pid_t ts_tid; /* tid (or pid) of this task */
|
|
|
|
|
|
struct TaskState *next;
|
|
struct TaskState *next;
|
|
@@ -114,7 +114,7 @@ typedef struct TaskState {
|
|
|
|
|
|
/* This thread's sigaltstack, if it has one */
|
|
/* This thread's sigaltstack, if it has one */
|
|
struct target_sigaltstack sigaltstack_used;
|
|
struct target_sigaltstack sigaltstack_used;
|
|
-} __attribute__((aligned(16))) TaskState;
|
|
|
|
|
|
+} __attribute__((aligned(16)));
|
|
|
|
|
|
static inline TaskState *get_task_state(CPUState *cs)
|
|
static inline TaskState *get_task_state(CPUState *cs)
|
|
{
|
|
{
|