On 17 December 2013 15:12, Peter Maydell <peter.mayd...@linaro.org> wrote: > @@ -763,7 +807,7 @@ static void handle_sys(DisasContext *s, uint32_t insn, > bool isread, > } > > /* Check access permissions */ > - if (!cp_access_ok(env, ri, isread)) { > + if (!cp_access_ok(s->current_pl, ri, isread)) { > unallocated_encoding(s); > return; > }
This hunk should have been squashed into patch 13, which otherwise won't compile. Will fix in next respin. thanks -- PMM