Revision 9399f095 bsd-user/main.c
b/bsd-user/main.c | ||
---|---|---|
50 | 50 |
vfprintf(stderr, fmt, ap); |
51 | 51 |
va_end(ap); |
52 | 52 |
} |
53 |
|
|
54 |
/* These are no-ops because we are not threadsafe. */ |
|
55 |
static inline void cpu_exec_start(CPUState *env) |
|
56 |
{ |
|
57 |
} |
|
58 |
|
|
59 |
static inline void cpu_exec_end(CPUState *env) |
|
60 |
{ |
|
61 |
} |
|
62 |
|
|
63 |
static inline void start_exclusive(void) |
|
64 |
{ |
|
65 |
} |
|
66 |
|
|
67 |
static inline void end_exclusive(void) |
|
68 |
{ |
|
69 |
} |
|
70 |
|
|
71 |
void fork_start(void) |
|
72 |
{ |
|
73 |
} |
|
74 |
|
|
75 |
void fork_end(int child) |
|
76 |
{ |
|
77 |
if (child) { |
|
78 |
gdbserver_fork(thread_env); |
|
79 |
} |
|
80 |
} |
|
81 |
|
|
82 |
void cpu_list_lock(void) |
|
83 |
{ |
|
84 |
} |
|
85 |
|
|
86 |
void cpu_list_unlock(void) |
|
87 |
{ |
|
88 |
} |
|
89 |
|
|
53 | 90 |
#ifdef TARGET_SPARC |
54 | 91 |
#define SPARC64_STACK_BIAS 2047 |
55 | 92 |
|
Also available in: Unified diff