On 3/11/19 12:16 PM, Sven Schnelle wrote:
> +/* access_id == 0 means public page and no check is performed */
> +if ((env->psw & PSW_P) && ent->access_id) {
> +wd = 1;
> +
> +if (ent->access_id == (env->cr[CR_PID1] >> 1)) {
> +wd &= env->cr[CR_PID1];
Signed-off-by: Sven Schnelle
---
target/hppa/cpu.h| 4
target/hppa/mem_helper.c | 28 ++--
2 files changed, 30 insertions(+), 2 deletions(-)
diff --git a/target/hppa/cpu.h b/target/hppa/cpu.h
index 861bbb1f16..d808796ee3 100644
--- a/target/hppa/cpu.h
+++ b/