We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffefe18 commit 24f5c80Copy full SHA for 24f5c80
clint.c
@@ -80,7 +80,6 @@ void clint_read(hart_t *vm,
80
if (!clint_reg_read(clint, addr, value))
81
vm_set_exception(vm, RV_EXC_LOAD_FAULT, vm->exc_val);
82
*value = (*value) >> (RV_MEM_SW - width);
83
- return;
84
}
85
86
void clint_write(hart_t *vm,
@@ -91,5 +90,4 @@ void clint_write(hart_t *vm,
91
90
{
92
if (!clint_reg_write(clint, addr, value >> (RV_MEM_SW - width)))
93
vm_set_exception(vm, RV_EXC_STORE_FAULT, vm->exc_val);
94
95
0 commit comments