Signed-off-by: Andrea Bastoni <[email protected]>
---
hypervisor/arch/arm64/mmio.c | 2 ++
hypervisor/arch/arm64/smmu-v3.c | 2 ++
hypervisor/arch/arm64/traps.c | 1 +
3 files changed, 5 insertions(+)
diff --git a/hypervisor/arch/arm64/mmio.c b/hypervisor/arch/arm64/mmio.c
index 7fbfef75..2f9bdd80 100644
--- a/hypervisor/arch/arm64/mmio.c
+++ b/hypervisor/arch/arm64/mmio.c
@@ -35,6 +35,8 @@ static inline unsigned long sign_extend(unsigned long val,
unsigned int size)
static void arch_inject_dabt(struct trap_context *ctx, unsigned long addr)
{
+ (void)ctx;
+ (void)addr;
int err __attribute__((unused)) = trace_error(-EINVAL);
while (1);
}
diff --git a/hypervisor/arch/arm64/smmu-v3.c b/hypervisor/arch/arm64/smmu-v3.c
index 1f83e389..6192a82f 100644
--- a/hypervisor/arch/arm64/smmu-v3.c
+++ b/hypervisor/arch/arm64/smmu-v3.c
@@ -574,6 +574,8 @@ static void arm_smmu_write_strtab_ent(struct
arm_smmu_device *smmu, u32 sid,
u64 *guest_ste, u64 *dst, bool bypass,
u32 vmid)
{
+ (void)guest_ste;
+
struct paging_structures *pg_structs = &this_cell()->arch.mm;
u64 val, vttbr;
diff --git a/hypervisor/arch/arm64/traps.c b/hypervisor/arch/arm64/traps.c
index 26a58f4d..b2c21e7c 100644
--- a/hypervisor/arch/arm64/traps.c
+++ b/hypervisor/arch/arm64/traps.c
@@ -72,6 +72,7 @@ static enum trap_return handle_sysreg(struct trap_context
*ctx)
static enum trap_return handle_iabt(struct trap_context *ctx)
{
unsigned long hpfar, hdfar;
+ (void)ctx;
arm_read_sysreg(HPFAR_EL2, hpfar);
arm_read_sysreg(FAR_EL2, hdfar);
--
2.28.0
--
You received this message because you are subscribed to the Google Groups
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jailhouse-dev/20201022175826.199614-32-andrea.bastoni%40tum.de.