Revision 9596ebb7 monitor.c
b/monitor.c | ||
---|---|---|
261 | 261 |
} |
262 | 262 |
|
263 | 263 |
/* get the current CPU defined by the user */ |
264 |
int mon_set_cpu(int cpu_index) |
|
264 |
static int mon_set_cpu(int cpu_index)
|
|
265 | 265 |
{ |
266 | 266 |
CPUState *env; |
267 | 267 |
|
... | ... | |
274 | 274 |
return -1; |
275 | 275 |
} |
276 | 276 |
|
277 |
CPUState *mon_get_cpu(void) |
|
277 |
static CPUState *mon_get_cpu(void)
|
|
278 | 278 |
{ |
279 | 279 |
if (!mon_cpu) { |
280 | 280 |
mon_set_cpu(0); |
Also available in: Unified diff