mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-20 01:58:32 -04:00
Synopsys ARC update, with updated BSP support (#99)
Update BSP APIs to latest version Remove unused macro which could have caused warnings (Code Style) Manually align some macros Signed-off-by: Yuguo Zou <yuguo.zou@synopsys.com>
This commit is contained in:
parent
bb56edff2f
commit
5b6c2ab085
3 changed files with 18 additions and 14 deletions
|
@ -54,6 +54,7 @@
|
|||
extern void __mw_run_tls_dtor();
|
||||
extern void __mw_run_tls_ctor();
|
||||
|
||||
extern uint32_t exc_nest_count;
|
||||
/*
|
||||
* Linker generated symbols to mark .tls section addresses
|
||||
* first byte .. last byte
|
||||
|
@ -184,7 +185,7 @@
|
|||
executable_requires_tls_section();
|
||||
}
|
||||
|
||||
if( exc_sense() ) /* In ISR */
|
||||
if( exc_nest_count > 0 ) /* In ISR */
|
||||
{
|
||||
return get_isr_tls();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue