[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 45/45] hw/intc: don't use target_ulong for LoongArch ipi
|
From: |
Song Gao |
|
Subject: |
[PULL 45/45] hw/intc: don't use target_ulong for LoongArch ipi |
|
Date: |
Fri, 5 May 2023 10:28:06 +0800 |
From: Alex Bennée <alex.bennee@linaro.org>
The calling function is already working with hwaddr and uint64_t so
lets avoid bringing target_ulong in if we don't need to.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230404132711.2563638-1-alex.bennee@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
---
hw/intc/loongarch_ipi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/intc/loongarch_ipi.c b/hw/intc/loongarch_ipi.c
index aa4bf9eb74..bdba0f8107 100644
--- a/hw/intc/loongarch_ipi.c
+++ b/hw/intc/loongarch_ipi.c
@@ -50,7 +50,7 @@ static uint64_t loongarch_ipi_readl(void *opaque, hwaddr
addr, unsigned size)
return ret;
}
-static void send_ipi_data(CPULoongArchState *env, target_ulong val,
target_ulong addr)
+static void send_ipi_data(CPULoongArchState *env, uint64_t val, hwaddr addr)
{
int i, mask = 0, data = 0;
--
2.31.1
- [PULL 35/45] target/loongarch: Implement vseq vsle vslt, (continued)
- [PULL 35/45] target/loongarch: Implement vseq vsle vslt, Song Gao, 2023/05/04
- [PULL 36/45] target/loongarch: Implement vfcmp, Song Gao, 2023/05/04
- [PULL 38/45] target/loongarch: Implement vinsgr2vr vpickve2gr vreplgr2vr, Song Gao, 2023/05/04
- [PULL 37/45] target/loongarch: Implement vbitsel vset, Song Gao, 2023/05/04
- [PULL 40/45] target/loongarch: Implement vilvl vilvh vextrins vshuf, Song Gao, 2023/05/04
- [PULL 39/45] target/loongarch: Implement vreplve vpack vpick, Song Gao, 2023/05/04
- [PULL 44/45] target/loongarch: CPUCFG support LSX, Song Gao, 2023/05/04
- [PULL 43/45] target/loongarch: Use {set/get}_gpr replace to cpu_fpr, Song Gao, 2023/05/04
- [PULL 29/45] target/loongarch: Implement vclo vclz, Song Gao, 2023/05/04
- [PULL 24/45] target/loongarch: Implement vsrlr vsrar, Song Gao, 2023/05/04
- [PULL 45/45] hw/intc: don't use target_ulong for LoongArch ipi,
Song Gao <=
- [PULL 42/45] target/loongarch: Implement vldi, Song Gao, 2023/05/04
- [PULL 41/45] target/loongarch: Implement vld vst, Song Gao, 2023/05/04
- Re: [PULL 00/45] loongarch-to-apply queue, Richard Henderson, 2023/05/05