121 PrintExcInfo(
"\n stack name cpu id stack addr total size used size\n"
122 " ---------- ------ --------- -------- --------\n");
123 for (index = 0; index <
g_stackNum; index++) {
124 for (cpuid = 0; cpuid < LOSCFG_KERNEL_CORE_NUM; cpuid++) {
macro EXC_SP_SET stackSize
UINT32 OsStackWaterLineGet(const UINTPTR *stackBottom, const UINTPTR *stackTop, UINT32 *peakUsed)
获取栈的吃水线
VOID PrintExcInfo(const CHAR *fmt,...)
打印异常信息
const StackInfo * g_stackInfo
CPU所有工作模式的栈信息
VOID OsExcStackCheck(VOID)
异常情况下的栈检查,主要就是检查栈顶值有没有被改写