mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
arch: Rename xxx_getsp to up_getsp
All modern desgin support stack pointer and it's also an important information, so let's standardize this interface. Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
David Sidrane
parent
fdf325c7e3
commit
6576306bca
@@ -1687,6 +1687,23 @@ int up_timer_cancel(FAR struct timespec *ts);
|
||||
int up_timer_start(FAR const struct timespec *ts);
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Name: up_getsp
|
||||
*
|
||||
* Input Parameters:
|
||||
* None
|
||||
*
|
||||
* Returned Value:
|
||||
* Current stack pointer.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
/* uintptr_t up_getsp(void);
|
||||
*
|
||||
* The actual declaration or definition is provided in arch/arch.h.
|
||||
* The actual implementation may be a MACRO or an inline function.
|
||||
*/
|
||||
|
||||
/****************************************************************************
|
||||
* TLS support
|
||||
****************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user