Revision 44f8625d target-cris/op_helper.c
b/target-cris/op_helper.c | ||
---|---|---|
49 | 49 |
{ |
50 | 50 |
TranslationBlock *tb; |
51 | 51 |
CPUState *saved_env; |
52 |
target_phys_addr_t pc;
|
|
52 |
unsigned long pc;
|
|
53 | 53 |
int ret; |
54 | 54 |
|
55 | 55 |
/* XXX: hack to restore env in all cases, even if not called from |
... | ... | |
60 | 60 |
if (__builtin_expect(ret, 0)) { |
61 | 61 |
if (retaddr) { |
62 | 62 |
/* now we have a real cpu fault */ |
63 |
pc = (target_phys_addr_t)retaddr;
|
|
63 |
pc = (unsigned long)retaddr;
|
|
64 | 64 |
tb = tb_find_pc(pc); |
65 | 65 |
if (tb) { |
66 | 66 |
/* the PC is inside the translated code. It means that we have |
Also available in: Unified diff