arm.h

来自「lxRTOS一个用于嵌入系统的操作系统」· C头文件 代码 · 共 44 行

H
44
字号
/*
* file:
*       arm.h
* description:
*       include file of architecture.
*/

#ifndef __ARM_H__
#define __ARM_H__


#ifdef __cplusplus
extern "C" {
#endif


/*
* context for switch thread
*/
typedef struct _thread_context
{
    unsigned int _cpsr;
    unsigned int _r4;
    unsigned int _r5;
    unsigned int _r6;
    unsigned int _r7;
    unsigned int _r8;
    unsigned int _r9;
    unsigned int _r10;
    unsigned int _r11;
    unsigned int _ip;
    unsigned int _sp;
    unsigned int _lr;

}thread_context;


#ifdef __cplusplus
}
#endif


#endif /* __ARM_H__ */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?