08 2022 档案

摘要:MinGW能够提供一个运行环境。 linux下面的软件能够在windows下面编译。 https://www.mingw-w64.org/ 阅读全文
posted @ 2022-08-27 01:40 panrui 阅读(92) 评论(0) 推荐(0)
摘要:如果我们只是靠随便网络上查找一个Speculative这个词的含义,是很难去理解的。但是我们通过查看英文原文去理解,可能就比较清楚地理解了: speculative (adjective) 1. based on guessing or on opinions that have been form 阅读全文
posted @ 2022-08-25 16:50 panrui 阅读(63) 评论(0) 推荐(0)
摘要:什么是cacheTo minimize the quantity of control information stored, the spatial locality property is used to group several locations together under the sa 阅读全文
posted @ 2022-08-25 16:08 panrui 阅读(212) 评论(0) 推荐(0)
摘要:Using the GNU Compiler Collection For gcc version 4.9.3 (GNU Tools for ARM Embedded Processors) In an assembler instruction using asm, you can specify 阅读全文
posted @ 2022-08-25 14:02 panrui 阅读(24) 评论(0) 推荐(0)
摘要:(出现的地址信息没有特定意义,仅供参考) vApplicationStackOverflowHook() at rtos.c:371 0x55aa vTaskSwitchContext() at tasks.c:2,892 0x3f4a PendSV_Handler() at port.c:435 阅读全文
posted @ 2022-08-25 13:58 panrui 阅读(235) 评论(0) 推荐(0)
摘要:操作系统中的stack。从freertos的手册中可以看到每个任务都需要有一个stack space。 Autosar的操作系统中配置也有同样的定义(和freertos的机制不同)。 这样做的必要性因为是多任务。任何一个task都可以被context switch发生时被打断,此时需要保存当前的函数 阅读全文
posted @ 2022-08-16 16:26 panrui 阅读(54) 评论(0) 推荐(0)
摘要:• How function parameters are passed in registers and on the stack;函数的参数传递是通过寄存器还是通过栈来传递的。 • How function values are returned;函数的返回是如何进行的。 • Which reg 阅读全文
posted @ 2022-08-08 13:27 panrui 阅读(100) 评论(0) 推荐(0)
摘要:图 发生pendsv调用 在arm的平台下,几乎肯定是采用systick中断作为调度的。 在freertos中,port.c 重要变量: pxCurrentTCB 阅读全文
posted @ 2022-08-05 13:05 panrui 阅读(124) 评论(0) 推荐(0)