projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1414c75
)
target/ppc: msgsnd and msgclr instructions need hypervisor privilege
author
Cédric Le Goater
<clg@kaod.org>
Tue, 16 Jan 2018 07:41:56 +0000
(08:41 +0100)
committer
David Gibson
<david@gibson.dropbear.id.au>
Sat, 20 Jan 2018 06:15:05 +0000
(17:15 +1100)
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/translate.c
patch
|
blob
|
history
diff --git
a/target/ppc/translate.c
b/target/ppc/translate.c
index 0ef21cce33653fa53845ebd318a328c5f56b8018..396f422cf4077220a770768f673d463ef50dd3c1 100644
(file)
--- a/
target/ppc/translate.c
+++ b/
target/ppc/translate.c
@@
-6174,7
+6174,7
@@
static void gen_msgclr(DisasContext *ctx)
#if defined(CONFIG_USER_ONLY)
GEN_PRIV;
#else
- CHK_
S
V;
+ CHK_
H
V;
gen_helper_msgclr(cpu_env, cpu_gpr[rB(ctx->opcode)]);
#endif /* defined(CONFIG_USER_ONLY) */
}
@@
-6184,7
+6184,7
@@
static void gen_msgsnd(DisasContext *ctx)
#if defined(CONFIG_USER_ONLY)
GEN_PRIV;
#else
- CHK_
S
V;
+ CHK_
H
V;
gen_helper_msgsnd(cpu_gpr[rB(ctx->opcode)]);
#endif /* defined(CONFIG_USER_ONLY) */
}