⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 arm.h

📁 一个基于ARM9的操作系统, 实现了很多的功能,包括内存管理,进程创建等
💻 H
字号:
/*
* 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -