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

📄 prcb.c

📁 RTEMS (Real-Time Executive for Multiprocessor Systems) is a free open source real-time operating sys
💻 C
字号:
/*-------------------------------------*//* prcb.c                              *//* Last change : 11.10.94              *//*-------------------------------------*//* *  $Id: prcb.c,v 1.2 1999/10/27 16:27:34 joel Exp $ */#include "flttbl.h"#include "cntrltbl.h"#include "intrtbl.h"#include "systbl.h"#include "prcb.h"/*-------------------------------------*/  /* RAM based PRocess Control Block     */      #ifdef DBPRECISE_FAULTS#define AC                      (INT_OVFL_DISABLE | PRECISE_FLTS)#else#define AC                      (INT_OVFL_DISABLE | IMPRECISE_FLTS)#endif /* Initial Fault Configuration Word Image.   * As to this 1, I don't know why but without it   * fault hanlder wouldn't be invoked.   */#define FAULT_CONFIG            (UNLGND_FAULT_DISABLE | 1)  /* Initial Instruction Cache Configuration Word Image.   */#ifdef DBCACHE_OFF#define INST_CACHE_CONFIG       (INST_CACHE_DISABLE)#else#define INST_CACHE_CONFIG       (INST_CACHE_ENABLE)#endif  /* Initial Register Cache Configuration Word Image.   */#define REG_CACHE_CONFIG        0x000struct PRCB ram_prcb = {  & faultTbl[0],                        /* Fault Table Base */     & controlTbl[0],                  /* Control Table Base */      AC,                                   /* AC */   FAULT_CONFIG,                         /* Fault Configuration Word */  & interruptTbl,                       /* Interrupt Table Base */   & systemTbl,                          /* System Procedure Table Base */     0,                                    /* Reserved */    & intStackPtr[0],                     /* Interrupt Stack Pointer */  INST_CACHE_CONFIG,                    /* Instruction Cache Config */   REG_CACHE_CONFIG,                     /* Reg Cache Config */ };  /*-------------*//* End of file *//*-------------*/

⌨️ 快捷键说明

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