[coreboot-gerrit] Change in coreboot[master]: arch/riscv: Fix return type of mprv_read_u64

Jonathan Neuschäfer (Code Review) gerrit at coreboot.org
Mon Oct 9 23:39:19 CEST 2017


Jonathan Neuschäfer has uploaded this change for review. ( https://review.coreboot.org/21929


Change subject: arch/riscv: Fix return type of mprv_read_u64
......................................................................

arch/riscv: Fix return type of mprv_read_u64

Change-Id: I3dc12feefe5f0762e27d2ad0234371e91313c847
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer at gmx.net>
---
M src/arch/riscv/include/vm.h
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/29/21929/1

diff --git a/src/arch/riscv/include/vm.h b/src/arch/riscv/include/vm.h
index dadfecd..0db5313 100644
--- a/src/arch/riscv/include/vm.h
+++ b/src/arch/riscv/include/vm.h
@@ -105,7 +105,7 @@
 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)

-- 
To view, visit https://review.coreboot.org/21929
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3dc12feefe5f0762e27d2ad0234371e91313c847
Gerrit-Change-Number: 21929
Gerrit-PatchSet: 1
Gerrit-Owner: Jonathan Neuschäfer <j.neuschaefer at gmx.net>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20171009/9413fdce/attachment.html>


More information about the coreboot-gerrit mailing list