AURIX TriCore内核架构学习笔记

名词缩写

  • ISA - Instruction Set Architecture,指令集架构
  • PC - Program Counter, holds the address of the instruction that is currently running
  • GPRs - 32 General Purpose Registers
  • PSW - Program Status Word
  • PCXI - Previous Context Information
  • CSA - Context Save Area,CSAs are linked together through a Link Word
  • TIN - Trap Identification Number
  • SP - Stack Pointer, A[10]
  • ISP - Interrupt Stack Pointer Register
  • SYSCON - System Control Register
  • FCX - Free CSA List Head Pointer register
  • PCX - Previous Context List
  • ICR - Interrupt Control Register
  • MFCR - Move From Core Register
  • MTCR - Move To Core Register

The PCXI, PSW and PC registers are crucial to the procedure for storing and restoring a task’s context

在这里插入图片描述

  • A[10] is the Stack Pointer (SP) register
  • A[11] is the Return Address (RA) register

The events and instructions which cause a break in program execution are:

  • Interrupt or service requests
  • Traps
  • Function calls

The maximum number of interrupt sources is 255

When a trap is taken, the TIN is placed in data register D[15]

The GPRs are an essential part of a task’s context. When saving or restoring a task’s context to and from memory the context is split into the upper and lower contexts:

  • Registers A[2] to A[7] and D[0] to D[7] are part of the lower context.
  • Registers A[10] to A[15] and D[8] to D[15] are part of the upper context.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值