mirror of
https://github.com/saymrwulf/pulp-runtime.git
synced 2026-05-21 21:52:31 +00:00
Fixed regression
This commit is contained in:
parent
5ef7ff3157
commit
ea1c172836
1 changed files with 2 additions and 2 deletions
|
|
@ -39,6 +39,8 @@ static void pos_wait_forever()
|
|||
static void cluster_core_init()
|
||||
{
|
||||
eu_evt_maskSet((1<<PULP_DISPATCH_EVENT) | (1<<PULP_MUTEX_EVENT) | (1<<PULP_HW_BAR_EVENT));
|
||||
|
||||
eu_bar_setup(eu_bar_addr(0), (1<<ARCHI_CLUSTER_NB_PE) - 1);
|
||||
}
|
||||
|
||||
void cluster_entry_stub()
|
||||
|
|
@ -71,8 +73,6 @@ void cluster_start(int cid, int (*entry)())
|
|||
// Activate icache
|
||||
hal_icache_cluster_enable(cid);
|
||||
|
||||
eu_bar_setup(eu_bar_addr(0), (1<<ARCHI_CLUSTER_NB_PE) - 1);
|
||||
|
||||
if (!hal_is_fc())
|
||||
{
|
||||
cluster_core_init();
|
||||
|
|
|
|||
Loading…
Reference in a new issue