Fix flow controller set functions
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user