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:
Xiang Xiao
2021-06-09 16:26:18 +08:00
committed by David Sidrane
parent fdf325c7e3
commit 6576306bca
65 changed files with 126 additions and 109 deletions
+17
View File
@@ -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
****************************************************************************/