summaryrefslogtreecommitdiff
path: root/src/arch/riscv/process.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/riscv/process.cc')
-rw-r--r--src/arch/riscv/process.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/riscv/process.cc b/src/arch/riscv/process.cc
index 4afc72147..4e97fcf42 100644
--- a/src/arch/riscv/process.cc
+++ b/src/arch/riscv/process.cc
@@ -205,11 +205,11 @@ RiscvProcess::argsInit(int pageSize)
};
for (const AuxVector<IntType>& aux: auxv) {
DPRINTF(Stack, "Wrote aux key %s to address %p\n",
- aux_keys[aux.a_type], (void*)sp);
- pushOntoStack((uint8_t*)&aux.a_type, sizeof(IntType));
+ aux_keys[aux.getAuxType()], (void*)sp);
+ pushOntoStack((uint8_t*)&aux.getAuxType(), sizeof(IntType));
DPRINTF(Stack, "Wrote aux value %x to address %p\n",
- aux.a_val, (void*)sp);
- pushOntoStack((uint8_t*)&aux.a_val, sizeof(IntType));
+ aux.getAuxVal(), (void*)sp);
+ pushOntoStack((uint8_t*)&aux.getAuxVal(), sizeof(IntType));
}
ThreadContext *tc = system->getThreadContext(contextIds[0]);