Set the whole register when running algorithms
This commit is contained in:
parent
466b7b4881
commit
ee32550d17
|
@ -771,8 +771,8 @@ static int steps_execute(struct algorithm_steps *as,
|
||||||
struct reg_param reg_params[2];
|
struct reg_param reg_params[2];
|
||||||
init_reg_param(®_params[0], "x10", 64, PARAM_OUT);
|
init_reg_param(®_params[0], "x10", 64, PARAM_OUT);
|
||||||
init_reg_param(®_params[1], "x11", 64, PARAM_OUT);
|
init_reg_param(®_params[1], "x11", 64, PARAM_OUT);
|
||||||
buf_set_u32(reg_params[0].value, 0, 32, ctrl_base);
|
buf_set_u64(reg_params[0].value, 0, 64, ctrl_base);
|
||||||
buf_set_u32(reg_params[1].value, 0, 32, data_wa->address);
|
buf_set_u64(reg_params[1].value, 0, 64, data_wa->address);
|
||||||
while (!as_empty(as)) {
|
while (!as_empty(as)) {
|
||||||
keep_alive();
|
keep_alive();
|
||||||
unsigned bytes = as_compile(as, data_buf, data_wa->size);
|
unsigned bytes = as_compile(as, data_buf, data_wa->size);
|
||||||
|
|
Loading…
Reference in New Issue