当前位置: 首页 > news >正文

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

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.
http://www.lryc.cn/news/140896.html

相关文章:

  • VMware ESXi 7.0 优化VMFSL磁盘占用与系统存储大小
  • 4.网络设计与redis、memcached、nginx组件(二)
  • 后端开发有哪几种语言? - 易智编译EaseEditing
  • Spring 学习源码的基础 核心原理与核心概念
  • cpolar做一个内网穿透
  • 自动驾驶——最优控制算法(LQR)工程化总结
  • 【微服务】05-网关与BFF(Backend For Frontend)
  • 保证MQ的高可用的几种方案
  • MySql013——函数
  • k8s-dashboard使用指导手册
  • Python爬虫快速入门指南
  • Java人脸识别技术探索与实践
  • 【鞋服零售ERP】之要货申请单设计思路
  • EWM怎么取消pinking,SAP_EWM取消拣配报错处理方式
  • TensorFlow 的基本概念和使用场景
  • openssl 加密(encrypt)、解密(decrypt)、签名(sign)、验证(verify)
  • 视频云存储/安防监控视频AI智能分析网关V3:抽烟/打电话功能详解
  • 新版Jadx 加载dex报错 jadx.plugins.input.dex.DexException:Bad checksum 解决方法
  • win11+vmware17+centos7.9环境搭建
  • Unity Meta Quest MR 开发教程:(二)自定义透视 Passthrough【透视功能进阶】
  • vue3学习源码笔记(小白入门系列)------ 组件是如何渲染成dom挂载到指定位置的?
  • 【编码规范】从代码之丑聊代码规范
  • pytorch中的register_buffer
  • 【Java笔记】分布式id生成-雪花算法
  • STM32f103入门(2)流水灯蜂鸣器
  • Web Worker的使用
  • STM32 Cubemx配置串口收发
  • ndoe+mysql+express基础应用
  • 后端项目开发:集成日志
  • 20-GIT版本控制