当前位置:网站首页>B_QuRT_User_Guide(32)
B_QuRT_User_Guide(32)
2022-06-30 20:09:00 【weixin_38498942】
B_QuRT_User_Guide(32 )
21.10 qurt_mem_cache_clean2()
21.10.1 功能文档
21.10.1.1 int qurt_mem_cache_clean2 ( qurt_addr_t addr, qurt_size_t size, qurt_mem_cache_op_t opcode, qurt_mem_cache_type_t type )
对存储在指定内存区域的数据执行数据缓存清理操作。该API只执行以下数据缓存操作。
- qurt_mem_cache_flush
- qurt_mem_cache_invalidate
- qurt_mem_cache_flush_invalidate
这个操作冲刷/验证了从开始地址到结束地址(开始地址+大小)的所有缓存行的内容。如果相邻的缓冲区的内容落在任何一个缓冲区行中,都可以被刷新/验证。
相关数据类型
qurt_addr_t
qurt_size_t
qurt_mem_cache_op_t
qurt_mem_cache_type_t
参数
返回值
QURT_EOK – Cache operation performed successfully.
QURT_EVAL – Invalid cache type.
依赖项
None.
21.11 qurt_mem_cache_phys_clean()
21.11.1 功能文档
21.11.1.1 int qurt_mem_cache_phys_clean ( unsigned int mask, unsigned int addrmatch, qurt_mem_cache_op_t opcode )
根据地址匹配和掩码,对存储在指定内存区域的数据执行缓存清理操作。当(LINE.PhysicalPageNumber & MASK) == ADDRMATCH时,对一个缓存行进行操作。
注意:addrmatch值应该是要匹配的上24位物理地址。
相关数据类型
qurt_mem_cache_op_t
参数
返回值
QURT_EOK - 缓存操作成功执行。
QURT_EVAL - 无效操作
依赖项
None.
21.12 qurt_mem_configure_cache_partition()
21.12.1 功能文档
21.12.1.1 int qurt_mem_configure_cache_partition ( qurt_cache_type_t cache_type, qurt_cache_partition_size_t partition_size )
在系统级配置Hexagon高速缓存分区。
分区大小值SEVEN_EIGHTHS_SIZE只适用于二级缓存。在Hexagon处理器版本V60或更高版本中不支持L1高速缓存分区。注意:仅在有QuRT操作系统权限的情况下调用此操作。
相关数据类型
qurt_cache_type_t
qurt_cache_partition_size_t
参数
返回值
QURT_EOK – Success.
QURT_EVAL – Error.
依赖项
None.
## 21.12 qurt_mem_configure_cache_partition()
21.13 qurt_mem_l2cache_line_lock()
21.13.1 功能文档
21.13.1.1 int qurt_mem_l2cache_line_lock ( qurt_addr_t addr, qurt_size_t size )
在系统级配置Hexagon高速缓存分区。
分区大小值SEVEN_EIGHTHS_SIZE只适用于二级缓存。在Hexagon处理器版本V60或更高版本中不支持L1高速缓存分区。注意:仅在有QuRT操作系统权限的情况下调用此操作。
相关数据类型
qurt_addr_t
qurt_size_t
参数
返回值
QURT_EOK - 成功。
QURT_EALIGN - 数据对齐或地址失败。
依赖项
None.
21.14 qurt_mem_l2cache_line_unlock()
21.14.1 功能文档
21.14.1.1 int qurt_mem_l2cache_line_unlock ( qurt_addr_t addr, qurt_size_t size )
执行一个二级缓存行的解锁操作。这个函数在L2高速缓存中解锁选择性的行。
存储器中的选择性行。
注意:只对32字节对齐的大小和地址执行行解锁操作。
相关数据类型
qurt_addr_t
qurt_size_t
参数
返回值
QURT_EOK - 成功。
QURT_EALIGN - 对齐数据或地址失败。QURT_EFAILED - 操作失败,无法找到匹配的标签。
依赖项
None.
21.15 qurt_mem_map_static_query()
21.15.1 功能文档
21.15.1.1 int qurt_mem_map_static_query ( qurt_addr_t ∗ vaddr, qurt_addr_t paddr, unsigned int page_size, qurt_mem_cache_mode_t cache_attribs, qurt_perm_t perm )
决定一个内存页是否被静态映射。页面由以下属性指定:物理地址、页面大小、缓存模式和内存权限。
- 如果指定的页是静态映射的,vaddr返回该页的虚拟地址。
- 如果该页没有被静态映射(或者不存在指定的页),vaddr返回-1作为虚拟地址值。
系统配置文件定义了QuRT内存映射。
相关数据类型
qurt_addr_t
qurt_mem_cache_mode_t
qurt_perm_t
参数
返回值
QURT_EOK - 指定的页面是静态映射的,vaddr返回虚拟地址。QURT_EMEM - 指定的页面没有被静态映射,vaddr返回-1。QURT_EVAL - 指定的页面不存在。
依赖项
None.
边栏推荐
- 基于开源流批一体数据同步引擎ChunJun数据还原—DDL解析模块的实战分享
- Lumiprobe 聚乙二醇化和 PEG 接头丨碘-PEG3-酸研究
- unittest自动测试多个用例时,logging模块重复打印解决
- 股票开户优惠链接,我如何才能得到?另外,手机开户安全么?
- Lumiprobe生物素亚磷酰胺(羟脯氨酸)说明书
- 北京大学ACM Problems 1000:A+B Problem
- No "history of blood and tears" in home office | community essay solicitation
- Lumiprobe蛋白质定量丨QuDye 蛋白定量试剂盒
- Jerry's determination of detection sensitivity level [chapter]
- The Commission is so high that everyone can participate in the new programmer's partner plan
猜你喜欢

PHP获取Opcode及C源码

To eliminate bugs, developers must know several bug exploration and testing artifacts.

Document contains & conditional competition

DEX file parsing - Method_ IDS resolution

PHP obtains opcode and C source code

杰理之触摸按键识别流程【篇】

哈夫曼树(一)基本概念与C语言实现
![Network planning | [five transport layers and six application layers] knowledge points and examples](/img/4f/31acce51b584bed5ef56b2093c4db3.png)
Network planning | [five transport layers and six application layers] knowledge points and examples

By analyzing more than 7million R & D needs, it is found that these eight programming languages are the most needed by the industry

DEX文件解析 - method_ids解析
随机推荐
Summary of personal work of 21 groups in the first week of summer training
Implementation principle of PostgreSQL heap table storage engine
Jerry's touch key recognition process [chapter]
Is the project manager a leader? Can you criticize and blame members?
C file pointer
Maya House Modeling
Jerry's long press reset [chapter]
No "history of blood and tears" in home office | community essay solicitation
网上炒股开户安全嘛!?
信息学奥赛一本通 1362:家庭问题(family)
Summary of PHP file upload (garbled code, move failure, permission, display picture)
昨晚 Spark Summit 重要功能发布全在这里(附超清视频)
PHP require/include 区别
凌云出海记 | 一零跃动&华为云:共助非洲普惠金融服务
谈谈内联函数
Jenkins打包拉取不到最新的jar包
Lumiprobe蛋白质定量丨QuDye 蛋白定量试剂盒
DEX file parsing - Method_ IDS resolution
数据库 OLAP、OLTP是什么?相同和不同?适用场景
分析超700万个研发需求发现,这八大编程语言才是行业最需要的