Fix flow controller set functions

This commit is contained in:
Michael Scire 2018-03-09 14:56:16 -08:00
parent 3f627798e7
commit 88c4dfd444
3 changed files with 6 additions and 5 deletions

View file

@ -109,7 +109,7 @@ uint32_t cpu_on(uint32_t core, uintptr_t entrypoint_addr, uint64_t argument) {
void power_down_current_core(void) {
unsigned int current_core = get_core_id();
flow_set_csr(current_core, 0);
flow_set_halt_events(current_core, 0);
flow_set_halt_events(current_core, false);
flow_set_cc4_ctrl(current_core, 0);
save_current_core_context();
g_cpu_contexts[current_core].is_active = 0;