xtensa/esp32: Add extern modifier to ROM function declaration

This commit is contained in:
Gustavo Henrique Nihei 2021-02-05 10:42:52 -03:00 committed by Alan Carvalho de Assis
parent 280fe41306
commit 29b9cf652e
3 changed files with 9 additions and 9 deletions

View File

@ -55,9 +55,9 @@ static volatile spinlock_t g_appcpu_interlock SP_SECTION;
* ROM function prototypes
****************************************************************************/
void Cache_Flush(int cpu);
void Cache_Read_Enable(int cpu);
void ets_set_appcpu_boot_addr(uint32_t start);
extern void Cache_Flush(int cpu);
extern void Cache_Read_Enable(int cpu);
extern void ets_set_appcpu_boot_addr(uint32_t start);
/****************************************************************************
* Private Functions

View File

@ -173,7 +173,7 @@ struct spiflash_cachestate_s
* ROM function prototypes
****************************************************************************/
void Cache_Flush(int cpu);
extern void Cache_Flush(int cpu);
/****************************************************************************
* Private Functions Prototypes

View File

@ -33,32 +33,32 @@ extern "C"
#endif
/****************************************************************************
* Public Function Prototypes
* ROM function prototypes
****************************************************************************/
/****************************************************************************
* Name: ets_efuse_read_op
****************************************************************************/
void ets_efuse_read_op(void);
extern void ets_efuse_read_op(void);
/****************************************************************************
* Name: ets_efuse_program_op
****************************************************************************/
void ets_efuse_program_op(void);
extern void ets_efuse_program_op(void);
/****************************************************************************
* Name: ets_efuse_get_8m_clock
****************************************************************************/
uint32_t ets_efuse_get_8m_clock(void);
extern uint32_t ets_efuse_get_8m_clock(void);
/****************************************************************************
* name: ets_efuse_get_spiconfig
****************************************************************************/
uint32_t ets_efuse_get_spiconfig(void);
extern uint32_t ets_efuse_get_spiconfig(void);
#define EFUSE_SPICFG_SPI_DEFAULTS 0
#define EFUSE_SPICFG_HSPI_DEFAULTS 1