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:
YuguoWH 2020-07-23 08:14:09 +08:00 committed by GitHub
parent bb56edff2f
commit 5b6c2ab085
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 14 deletions

View file

@ -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();
}