asmstub.h
来自「RTEMS (Real-Time Executive for Multiproc」· C头文件 代码 · 共 39 行
H
39 行
/*-------------------------------------*//* asmstub.h *//* Last change : 20. 1.95 *//*-------------------------------------*//* * $Id: asmstub.h,v 1.2 1999/10/27 16:27:34 joel Exp $ */#ifndef _ASMSTUB_H_#define _ASMSTUB_H_#include "prcb.h" /* Reset Processor taking Start Point and Prcb * as parameters. */extern void asm_exit(void (* start)(void), struct PRCB * prcb); /* Call SYSCTL instruction. */extern void asm_sysctl(unsigned int cmd, unsigned int a1, unsigned int a2); /* Alter a bit in the interrupt pending register. */extern void asm_ipend(unsigned int iNmbr, unsigned int toSet); /* Alter a bit in the interrupt mask register. */extern void asm_imask(unsigned int iNmbr, unsigned int toSet); /* Call MODPC instruction. */extern int asm_modpc(unsigned int val, unsigned int mask); /* Change a cached interrupt vector. */extern void asm_ivector(unsigned int vctr, void (* hndl)(void));#endif/*-------------*//* End of file *//*-------------*/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?