AUTOSAR多核系统调试关键信息

OsCfg_Hal_Context_OsTask_70ms_OsCore0_Dyn; 
OsCfg_Hal_Context_OsCore0_ExceptionContext


/*! Dynamic information of a HAL context. 
 * Internal comment removed. 
 * 
 * 
 */ 
struct Os_Hal_ContextType_Tag 

  uint32 Os_Hal_PC;     /*!< +00h Program counter */ 
  uint32 Os_Hal_PSW;    /*!< +04h Program status word */ 
  uint32 Os_Hal_PMR;    /*!< +08h Interrupt priority masking */ 
  uint32 Os_Hal_LP;     /*!< +0Ch Link pointer */ 
  uint32 Os_Hal_SP;     /*!< +10h Stack pointer */ 
  uint32 Os_Hal_MPLA0;  /*!< +14h Protection area minimum address (stack window).*/ 
  uint32 Os_Hal_MPUA0;  /*!< +18h Protection area maximum address (stack window).*/ 
  uint32 Os_Hal_ASID;   /*!< +1Ch Address space ID */ 
  uint32 Os_Hal_PARAM;  /*!< +20h General purpose register R6. First function parameter for function calls. */ 
}; 

/*! Set of hardware registers to be able to resume from an exception. */ 
struct Os_ExceptionContextType_Tag 

  /*! Stored program registers of the thread (r2 and r6-r29) */ 
  uint32 ProgramRegisters[OS_HAL_EXCEPTION_CONTEXT_NUMBER_OF_PROGRAM_REGISTERS]; 
 
  /*! Stored stack pointer of the thread */ 
  uint32 Sp; 
 
  /*! Stored FE level exception cause */ 
  uint32 Feic; 
 
  /*! Stored PID of the context owner */ 
  uint32 Pid; 
 
  /*! Stored program counter of the thread */ 
  uint32 Fepc; 
 
  /*! Stored program status of the thread */ 
  uint32 Fepsw; 
 
  /*! Stored return address of the thread */ 
  uint32 Lr; 
 
  /*! Start (low) address of stack region in memory */ 
  uint32 StackRegionStart; 
 
  /*! End (high) address of stack region in memory */ 
  uint32 StackRegionEnd; 
 
  /*! Stored interrupt level of the thread */ 
  uint32 Pmr; 
 
  /*! Stored EI level exception cause */ 
  uint32 Eiic; 
 
  /*! Stored program counter of the thread */ 
  uint32 Eipc; 
 
  /*! Stored program status word of the thread */ 
  uint32 Eipsw; 
 
  /*! Stored memory errror address of the thread */ 
  uint32 Mea; 
 
  /*! Stored memroy error information of the thread */ 
  uint32 Mei; 
}; 
 

  • 9
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值