Revision 9399f095
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 |
|
b/bsd-user/qemu.h | ||
---|---|---|
186 | 186 |
extern unsigned long last_brk; |
187 | 187 |
void mmap_lock(void); |
188 | 188 |
void mmap_unlock(void); |
189 |
void cpu_list_lock(void); |
|
190 |
void cpu_list_unlock(void); |
|
189 | 191 |
#if defined(USE_NPTL) |
190 | 192 |
void mmap_fork_start(void); |
191 | 193 |
void mmap_fork_end(int child); |
Also available in: Unified diff