📄 cpu_install_intr_stack.c
字号:
/* * Install interrupt stack i960RP * * $Id: cpu_install_intr_stack.c,v 1.1 2000/07/11 19:31:04 joel Exp $ */#include <rtems.h>#include <libcpu/i960RP.h>extern i960_PRCB *Prcb;void _CPU_Install_interrupt_stack( void ){ i960_PRCB *prcb = Prcb; unsigned32 level; unsigned32 *isp = (int *) ISP_ADDR; /* * Set the Interrupt Stack in the on-CPU memory. * Interrupts are disabled for safety. */ _CPU_ISR_Disable( level ); prcb->intr_stack = _CPU_Interrupt_stack_low; *isp = (unsigned32) prcb->intr_stack; _CPU_ISR_Enable( level );}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -