📄 stack.h
字号:
/* MShowTec - www.mshowtec.com
** msLinux stack.h ver1.0
** 20051221 lmjx create limiao@mshowtec.com
**
*/
#ifndef MSLINUX_STACK_H
#define MSLINUX_STACK_H
#define ALIGN4B(a) ((a+3)&(~3))
#define DEFINE_TASK_STACK(name,sz) long name[ALIGN4B(sz)/4];unsigned char *task_##name = (unsigned char*)name
#define TASK0_STACK_SIZE (1024)
#define TASK_STACK_SIZE_0512 (0512)
#define TASK_STACK_SIZE_1024 (1024)
#define TASK_STACK_SIZE_2048 (2048)
#define TASK_STACK_SIZE_4096 (4096)
#define NR_STACKS (ALIGN4B(64))
#define STACK_0512_NB (10)
#define STACK_1024_NB (30)
#define STACK_2048_NB (20)
#define STACK_4096_NB (4)
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -