29#ifndef _LOS_STACK_INFO_PRI_H
30#define _LOS_STACK_INFO_PRI_H
34#include "arch/exception.h"
46#define OS_INVALID_WATERLINE 0xFFFFFFFF
47#define OS_STACK_MAGIC_CHECK(topOfStack) (*(UINTPTR *)(topOfStack) == OS_STACK_MAGIC_WORD)
57 (
VOID)memset(topOfStack, (
INT32)OS_STACK_INIT, stacksize);
58 *((
UINTPTR *)topOfStack) = OS_STACK_MAGIC_WORD;
#define STATIC
Definition common_def.h:57
#define INLINE
Definition common_def.h:65
UINT32 OsStackWaterLineGet(const UINTPTR *stackBottom, const UINTPTR *stackTop, UINT32 *peakUsed)
STATIC INLINE VOID OsStackInit(VOID *topOfStack, UINT32 stacksize)
Definition los_stackinfo_pri.h:54
VOID OsExcStackInfoReg(const StackInfo *stackInfo, UINT32 stackNum)
VOID OsExcStackInfo(VOID)
VOID OsGetStackInfo(const StackInfo **stackInfo, UINT32 *stackNum)
signed int INT32
Definition los_typedef.h:55
#define VOID
Definition los_typedef.h:88
unsigned int UINTPTR
Definition los_typedef.h:74
unsigned int UINT32
Definition los_typedef.h:52
char CHAR
Definition los_typedef.h:58
Definition los_stackinfo_pri.h:40
UINT32 stackSize
Definition los_stackinfo_pri.h:42
VOID * stackTop
Definition los_stackinfo_pri.h:41
CHAR * stackName
Definition los_stackinfo_pri.h:43