diff options
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | 2017-10-09 21:21:34 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2017-11-07 12:28:37 +0000 |
commit | 0c42cd324018fa921348acbc9f54ba0db764b201 (patch) | |
tree | 57e743a4b9eda8554520b00fd03949cb02019a6c /src/arch | |
parent | 3dbd28470b585017f0df0c3cb5d2e2c0d41e15ed (diff) |
arch/riscv: Fix return type of mprv_read_u64
Change-Id: I3dc12feefe5f0762e27d2ad0234371e91313c847
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-on: https://review.coreboot.org/21929
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/riscv/include/vm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/riscv/include/vm.h b/src/arch/riscv/include/vm.h index dadfecd8b4..0db5313580 100644 --- a/src/arch/riscv/include/vm.h +++ b/src/arch/riscv/include/vm.h @@ -105,7 +105,7 @@ void flush_tlb(void); DEFINE_MPRV_READ(mprv_read_u8, uint8_t, lbu) DEFINE_MPRV_READ(mprv_read_u16, uint16_t, lhu) DEFINE_MPRV_READ(mprv_read_u32, uint32_t, lwu) -DEFINE_MPRV_READ(mprv_read_u64, uint32_t, ld) +DEFINE_MPRV_READ(mprv_read_u64, uint64_t, ld) DEFINE_MPRV_READ(mprv_read_long, long, ld) DEFINE_MPRV_READ(mprv_read_ulong, unsigned long, ld) DEFINE_MPRV_WRITE(mprv_write_u8, uint8_t, sb) |