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

📄 asmmacro.h

📁 这是leon3处理器的交叉编译链
💻 H
字号:
#ifndef _INCLUDE_LEON_ASMMACRO_h#define _INCLUDE_LEON_ASMMACRO_h#include <asm-leon/leonstack.h>/* All trap entry points _must_ begin with this macro or else you * lose.  It makes sure the kernel has a proper window so that * c-code can be called. */#define SAVE_ALL_HEAD \	sethi	%hi(leonbare_trapsetup), %l4; \	jmpl	%l4 + %lo(leonbare_trapsetup), %l6;#define SAVE_ALL \	SAVE_ALL_HEAD \	 nop;/* All traps low-level code here must end with this macro. */#define RESTORE_ALL b leonbare_trapreturn; clr %l6;#define WRITE_PAUSE nop; nop; nop;#endif /* !_INCLUDE_LEON_STACK_h */

⌨️ 快捷键说明

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