Revision c527ee8f exec.c
b/exec.c | ||
---|---|---|
1333 | 1333 |
#endif |
1334 | 1334 |
#endif /* TARGET_HAS_ICE */ |
1335 | 1335 |
|
1336 |
#if defined(CONFIG_USER_ONLY) |
|
1337 |
void cpu_watchpoint_remove_all(CPUState *env, int mask) |
|
1338 |
|
|
1339 |
{ |
|
1340 |
} |
|
1341 |
|
|
1342 |
int cpu_watchpoint_insert(CPUState *env, target_ulong addr, target_ulong len, |
|
1343 |
int flags, CPUWatchpoint **watchpoint) |
|
1344 |
{ |
|
1345 |
return -ENOSYS; |
|
1346 |
} |
|
1347 |
#else |
|
1336 | 1348 |
/* Add a watchpoint. */ |
1337 | 1349 |
int cpu_watchpoint_insert(CPUState *env, target_ulong addr, target_ulong len, |
1338 | 1350 |
int flags, CPUWatchpoint **watchpoint) |
... | ... | |
1402 | 1414 |
cpu_watchpoint_remove_by_ref(env, wp); |
1403 | 1415 |
} |
1404 | 1416 |
} |
1417 |
#endif |
|
1405 | 1418 |
|
1406 | 1419 |
/* Add a breakpoint. */ |
1407 | 1420 |
int cpu_breakpoint_insert(CPUState *env, target_ulong pc, int flags, |
... | ... | |
2165 | 2178 |
{ |
2166 | 2179 |
} |
2167 | 2180 |
|
2168 |
int tlb_set_page_exec(CPUState *env, target_ulong vaddr, |
|
2169 |
target_phys_addr_t paddr, int prot, |
|
2170 |
int mmu_idx, int is_softmmu) |
|
2171 |
{ |
|
2172 |
return 0; |
|
2173 |
} |
|
2174 |
|
|
2175 | 2181 |
/* |
2176 | 2182 |
* Walks guest process memory "regions" one by one |
2177 | 2183 |
* and calls callback function 'fn' for each region. |
Also available in: Unified diff