Revision 44f8625d target-arm/op_helper.c
b/target-arm/op_helper.c | ||
---|---|---|
279 | 279 |
{ |
280 | 280 |
TranslationBlock *tb; |
281 | 281 |
CPUState *saved_env; |
282 |
target_phys_addr_t pc;
|
|
282 |
unsigned long pc;
|
|
283 | 283 |
int ret; |
284 | 284 |
|
285 | 285 |
/* XXX: hack to restore env in all cases, even if not called from |
... | ... | |
290 | 290 |
if (__builtin_expect(ret, 0)) { |
291 | 291 |
if (retaddr) { |
292 | 292 |
/* now we have a real cpu fault */ |
293 |
pc = (target_phys_addr_t)retaddr;
|
|
293 |
pc = (unsigned long)retaddr;
|
|
294 | 294 |
tb = tb_find_pc(pc); |
295 | 295 |
if (tb) { |
296 | 296 |
/* the PC is inside the translated code. It means that we have |
Also available in: Unified diff