aboutsummaryrefslogtreecommitdiff
path: root/target/ppc/helper_regs.h
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2019-03-21 21:41:17 +1100
committerDavid Gibson <david@gibson.dropbear.id.au>2019-04-26 10:42:38 +1000
commitc86f377c850a5217c32579a11aae05272f27b668 (patch)
treef1dc0db52c96697e18580297a99c1518d3813256 /target/ppc/helper_regs.h
parent02381ec16e71c9a37321195a1b426e850b2ca241 (diff)
downloadqemu-c86f377c850a5217c32579a11aae05272f27b668.zip
qemu-c86f377c850a5217c32579a11aae05272f27b668.tar.gz
qemu-c86f377c850a5217c32579a11aae05272f27b668.tar.bz2
target/ppc: Style fixes for helper_regs.h
Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Greg Kurz <groug@kaod.org>
Diffstat (limited to 'target/ppc/helper_regs.h')
-rw-r--r--target/ppc/helper_regs.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/target/ppc/helper_regs.h b/target/ppc/helper_regs.h
index c863abc..922da76 100644
--- a/target/ppc/helper_regs.h
+++ b/target/ppc/helper_regs.h
@@ -44,10 +44,11 @@ static inline void hreg_swap_gpr_tgpr(CPUPPCState *env)
static inline void hreg_compute_mem_idx(CPUPPCState *env)
{
- /* This is our encoding for server processors. The architecture
+ /*
+ * This is our encoding for server processors. The architecture
* specifies that there is no such thing as userspace with
- * translation off, however it appears that MacOS does it and
- * some 32-bit CPUs support it. Weird...
+ * translation off, however it appears that MacOS does it and some
+ * 32-bit CPUs support it. Weird...
*
* 0 = Guest User space virtual mode
* 1 = Guest Kernel space virtual mode
@@ -143,7 +144,8 @@ static inline int hreg_store_msr(CPUPPCState *env, target_ulong value,
/* Change the exception prefix on PowerPC 601 */
env->excp_prefix = ((value >> MSR_EP) & 1) * 0xFFF00000;
}
- /* If PR=1 then EE, IR and DR must be 1
+ /*
+ * If PR=1 then EE, IR and DR must be 1
*
* Note: We only enforce this on 64-bit server processors.
* It appears that: