当前位置:网站首页>AUTOSAR learning record (1) – ECUM_ Init
AUTOSAR learning record (1) – ECUM_ Init
2022-07-01 07:21:00 【wangke2b】
Autosar Learning record (1) – EcuM_Init
Based on open source code , No experience , Write something about it , As learning notes void EcuM_Init(void)
1.set_current_state(ECUM_STATE_STARTUP_ONE);/* Just did it EcuM_World.current_state = ECUM_STATE_STARTUP_ONE */
2.EcuM_AL_DriverInitZero();/ Nothing /
3.InitOS();/ Need specific analysis This function is located in Kernel/init.c/
4. Let's analyze it in detail task initialization
task.c There is OsTaskVarType Os_TaskVarList[OS_TASK_CNT];
And in Os_Cfg.c Generated by configuration in const OsTaskConstType Os_TaskConstList[OS_TASK_CNT]
copyPcbParts(tmpPcbPtr,&Os_TaskConstList[i]) /* take Os_TaskConstList Information in Copied to the Os_TaskVarList*/
Here is a key function Os_TaskContextInit(tmpPcbPtr);( Initialize the task stack , Or context , Specific analysis is required )
tips: Well, let's look at the source code first , I don't have a clear idea in writing
边栏推荐
- 运维管理系统,人性化操作体验
- Inventory the six second level capabilities of Huawei cloud gaussdb (for redis)
- 【LINGO】求无向图的最短路问题
- Code practice - build your own diffusion models / score based generic models from scratch
- 发现了一个 MySQL 的巨坑:update 更新别再用影响行数做判断了!!!
- Automated test platform (13): interface automation framework and platform comparison, application scenario analysis and design ideas sharing
- 图像风格迁移 CycleGAN原理
- 【推荐技术】基于协同过滤的网络信息推荐技术matlab仿真
- Is it suitable for girls to study product manager? What are the advantages?
- weback5基础配置详解
猜你喜欢

【LINGO】求无向图的最短路问题

AI视频智能平台EasyCVR设备录像出现无法播放现象的问题修复

LeetCode+ 71 - 75

运维面临挑战?智能运维管理系统来帮您

JSP - paging

比赛即实战!中国软件杯发布全新产业创新赛项,校企可联合参赛
![[chapter 72 of the flutter problem series] a solution to the problem that pictures taken in the flutter using the camera plug-in are stretched](/img/8d/cf259b9bb8574aa1842280c9661d1e.jpg)
[chapter 72 of the flutter problem series] a solution to the problem that pictures taken in the flutter using the camera plug-in are stretched

女生适合学产品经理吗?有什么优势?

The game is real! China software cup releases a new industrial innovation competition, and schools and enterprises can participate in it jointly

北漂程序员深夜emo发帖求助:女朋友走了我很孤独 ......
随机推荐
Jax's deep learning and scientific computing
How to draw a product architecture diagram?
用手机在指南针上开户靠谱吗?这样有没有什么安全隐患
组件的自定义事件②
微软宣布开源 (GODEL) 语言模型聊天机器人
MySQL table partition creation method
华泰证券开户是安全可靠的么?怎么开华泰证券账户
Alibaba OSS postman invalid according to policy: policy condition failed: ["starts with", "key", "test/"]
ctfshow-web354(SSRF)
[lingo] solve quadratic programming
2022电工(中级)复训题库及答案
vscode 根据 ESLint 规范自动格式化代码
Buildreoot override mechanism
1286_ Implementation analysis of task priority setting in FreeRTOS
Operation and maintenance management system, humanized operation experience
【推荐技术】基于协同过滤的网络信息推荐技术matlab仿真
浏览器本地存储
[programming training] delete public characters (hash mapping) + team competition (greedy)
关于图灵测试和中文屋Chinese room的理解
【FPGA帧差】基于VmodCAM摄像头的帧差法目标跟踪FPGA实现