(WIP) Force algorithms to 64 bit

This commit is contained in:
Palmer Dabbelt 2017-03-23 19:21:02 -07:00
parent ae51b92480
commit 466b7b4881
1 changed files with 2 additions and 2 deletions

View File

@ -769,8 +769,8 @@ static int steps_execute(struct algorithm_steps *as,
uint8_t *data_buf = malloc(data_wa->size);
struct reg_param reg_params[2];
init_reg_param(&reg_params[0], "x10", 32, PARAM_OUT);
init_reg_param(&reg_params[1], "x11", 32, PARAM_OUT);
init_reg_param(&reg_params[0], "x10", 64, PARAM_OUT);
init_reg_param(&reg_params[1], "x11", 64, PARAM_OUT);
buf_set_u32(reg_params[0].value, 0, 32, ctrl_base);
buf_set_u32(reg_params[1].value, 0, 32, data_wa->address);
while (!as_empty(as)) {