Revision 10eb0cc0 target-microblaze/cpu.h
b/target-microblaze/cpu.h | ||
---|---|---|
307 | 307 |
#include "cpu-all.h" |
308 | 308 |
#include "exec-all.h" |
309 | 309 |
|
310 |
static inline void cpu_pc_from_tb(CPUState *env, TranslationBlock *tb) |
|
311 |
{ |
|
312 |
env->sregs[SR_PC] = tb->pc; |
|
313 |
} |
|
314 |
|
|
315 | 310 |
static inline target_ulong cpu_get_pc(CPUState *env) |
316 | 311 |
{ |
317 | 312 |
return env->sregs[SR_PC]; |
Also available in: Unified diff