- target/ppc: Remove unused xer_* macros - hw/mips: Build fw_cfg.c once - minikconf: print error entirely on stderr - target/ppc: Remove extra space from s128 field in ppc_vsr_t - hw/arm/virt:Keep Guest L1 cache type consistent with KVM - pc-bios/keymaps: Use the official xkb name for Arabic layout, not the legacy synonym Signed-off-by: Jiabo Feng <fengjiabo1@huawei.com> (cherry picked from commit d1b87187cf117c1b09ecb9422379af9a66c6f949)
40 lines
1.3 KiB
Diff
40 lines
1.3 KiB
Diff
From fe8e83c0695b8215a3eab44eb4e40e4c4b90b2d8 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?=E5=88=98=E5=A9=A720201110?=
|
|
<liujing_yewu@cmss.chinamobile.com>
|
|
Date: Sun, 29 Sep 2024 17:25:23 +0800
|
|
Subject: [PATCH] target/ppc: Remove unused xer_* macros
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
The macros xer_ov, xer_ca, xer_ov32, and xer_ca32 are both unused and
|
|
hiding the usage of env. Remove them.
|
|
|
|
Signed-off-by: Víctor Colombo <victor.colombo@eldorado.org.br>
|
|
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
|
|
Message-Id: <20220906125523.38765-3-victor.colombo@eldorado.org.br>
|
|
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
|
|
Signed-off-by: Liu Jing <liujing@cmss.chinamobile.com>
|
|
---
|
|
target/ppc/cpu.h | 4 ----
|
|
1 file changed, 4 deletions(-)
|
|
|
|
diff --git a/target/ppc/cpu.h b/target/ppc/cpu.h
|
|
index 1281323c02..3c2210096d 100644
|
|
--- a/target/ppc/cpu.h
|
|
+++ b/target/ppc/cpu.h
|
|
@@ -1448,10 +1448,6 @@ typedef PowerPCCPU ArchCPU;
|
|
#define XER_CMP 8
|
|
#define XER_BC 0
|
|
#define xer_so (env->so)
|
|
-#define xer_ov (env->ov)
|
|
-#define xer_ca (env->ca)
|
|
-#define xer_ov32 (env->ov)
|
|
-#define xer_ca32 (env->ca)
|
|
#define xer_cmp ((env->xer >> XER_CMP) & 0xFF)
|
|
#define xer_bc ((env->xer >> XER_BC) & 0x7F)
|
|
|
|
--
|
|
2.41.0.windows.1
|
|
|