mirror of
https://github.com/saymrwulf/pulp-runtime.git
synced 2026-05-14 20:48:09 +00:00
Fixed issue with data placement leading to corruption
This commit is contained in:
parent
0856338ea0
commit
697e6efbc3
8 changed files with 11 additions and 6 deletions
|
|
@ -22,7 +22,7 @@
|
|||
#define POS_FLL_PERIPH 1
|
||||
#define POS_FLL_FC 0
|
||||
|
||||
extern PI_FC_TINY int pos_freq_domains[ARCHI_NB_FLL];
|
||||
extern int pos_freq_domains[ARCHI_NB_FLL];
|
||||
|
||||
|
||||
void pos_soc_init();
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
#define POS_FLL_PERIPH 1
|
||||
#define POS_FLL_FC 0
|
||||
|
||||
extern PI_FC_TINY int pos_freq_domains[ARCHI_NB_FLL];
|
||||
extern int pos_freq_domains[ARCHI_NB_FLL];
|
||||
|
||||
|
||||
void pos_soc_init();
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
#define POS_FLL_PERIPH 1
|
||||
#define POS_FLL_FC 0
|
||||
|
||||
extern PI_FC_TINY int pos_freq_domains[ARCHI_NB_FLL];
|
||||
extern int pos_freq_domains[ARCHI_NB_FLL];
|
||||
|
||||
|
||||
void pos_soc_init();
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
#endif
|
||||
|
||||
|
||||
#define FC_GLOBAL_DATA __attribute__((section(".data_fc")))
|
||||
#define FC_GLOBAL_DATA __attribute__((section(".l2_data")))
|
||||
#define FC_DATA FC_GLOBAL_DATA
|
||||
|
||||
#define PI_FC_TINY FC_DATA
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ void pos_soc_init()
|
|||
|
||||
pos_freq_domains[PI_FREQ_DOMAIN_PERIPH] = pos_fll_init(POS_FLL_PERIPH);
|
||||
|
||||
|
||||
pos_freq_domains[PI_FREQ_DOMAIN_CL] = pos_fll_init(POS_FLL_CL);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
#include "pulp.h"
|
||||
|
||||
volatile PI_FC_TINY unsigned int pos_soc_event_status[ARCHI_SOC_EVENT_NB_TOTAL/32];
|
||||
volatile unsigned int pos_soc_event_status[ARCHI_SOC_EVENT_NB_TOTAL/32];
|
||||
|
||||
extern void pos_soc_event_handler_asm();
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ static L1_DATA int io_lock = 0;
|
|||
|
||||
|
||||
#if defined(CONFIG_IO_UART) && CONFIG_IO_UART == 1
|
||||
static PI_FC_TINY int pos_io_uart_enabled = 0;
|
||||
static int pos_io_uart_enabled = 0;
|
||||
static PI_L2 uint8_t pos_io_uart_buffer;
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -3,6 +3,10 @@ ifndef VERBOSE
|
|||
V = @
|
||||
endif
|
||||
|
||||
ifdef VERBOSE
|
||||
override runner_args += --config-opt=**/runner/verbose=true
|
||||
endif
|
||||
|
||||
platform ?= rtl
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue