Revision f59df3f2 target-arm/translate.c
b/target-arm/translate.c | ||
---|---|---|
6837 | 6837 |
return 1; |
6838 | 6838 |
} |
6839 | 6839 |
|
6840 |
if (ri->accessfn) { |
|
6841 |
/* Emit code to perform further access permissions checks at |
|
6842 |
* runtime; this may result in an exception. |
|
6843 |
*/ |
|
6844 |
TCGv_ptr tmpptr; |
|
6845 |
gen_set_pc_im(s, s->pc); |
|
6846 |
tmpptr = tcg_const_ptr(ri); |
|
6847 |
gen_helper_access_check_cp_reg(cpu_env, tmpptr); |
|
6848 |
tcg_temp_free_ptr(tmpptr); |
|
6849 |
} |
|
6850 |
|
|
6840 | 6851 |
/* Handle special cases first */ |
6841 | 6852 |
switch (ri->type & ~(ARM_CP_FLAG_MASK & ~ARM_CP_SPECIAL)) { |
6842 | 6853 |
case ARM_CP_NOP: |
Also available in: Unified diff