Rename current_regs in STM32L4 for consistency with other platforms
This commit is contained in:
parent
f4f03e6f02
commit
8e66043d7a
@ -94,4 +94,3 @@
|
|||||||
#include "stm32l4_lowputc.h"
|
#include "stm32l4_lowputc.h"
|
||||||
|
|
||||||
#endif /* __ARCH_ARM_SRC_STM32_STM32_H */
|
#endif /* __ARCH_ARM_SRC_STM32_STM32_H */
|
||||||
|
|
||||||
|
@ -76,11 +76,13 @@
|
|||||||
* Public Data
|
* Public Data
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/* This is the address of current interrupt saved state data. Used for
|
/* g_current_regs[] holds a references to the current interrupt level
|
||||||
* context switching. Only value during interrupt handling.
|
* register storage structure. If is non-NULL only during interrupt
|
||||||
|
* processing. Access to g_current_regs[] must be through the macro
|
||||||
|
* CURRENT_REGS for portability.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
volatile uint32_t *current_regs;
|
volatile uint32_t *g_current_regs[1];
|
||||||
|
|
||||||
/* This is the address of the exception vector table (determined by the
|
/* This is the address of the exception vector table (determined by the
|
||||||
* linker script).
|
* linker script).
|
||||||
@ -370,7 +372,7 @@ void up_irqinitialize(void)
|
|||||||
|
|
||||||
/* currents_regs is non-NULL only while processing an interrupt */
|
/* currents_regs is non-NULL only while processing an interrupt */
|
||||||
|
|
||||||
current_regs = NULL;
|
CURRENT_REGS = NULL;
|
||||||
|
|
||||||
/* Attach the SVCall and Hard Fault exception handlers. The SVCall
|
/* Attach the SVCall and Hard Fault exception handlers. The SVCall
|
||||||
* exception is used for performing context switches; The Hard Fault
|
* exception is used for performing context switches; The Hard Fault
|
||||||
|
Loading…
Reference in New Issue
Block a user