当前位置:网站首页>B_ QuRT_ User_ Guide(31)
B_ QuRT_ User_ Guide(31)
2022-06-30 22:04:00 【weixin_ thirty-eight million four hundred and ninety-eight thou】
B_QuRT_User_Guide(31 )
21.4 qurt_mapping_create()
21.4.1 Function document
21.4.1.1 int qurt_mapping_create ( qurt_addr_t vaddr, qurt_addr_t paddr, qurt_size_t size, qurt_mem_cache_mode_t cache_attribs, qurt_perm_t perm )
Create a memory map in the page table .
Related data types
qurt_addr_t
qurt_size_t
qurt_mem_cache_mode_t
qurt_perm_t
Parameters 
Return value
QURT_EOK - Mapping creation .
QURT_EMEM - Failed to create mapping .
Dependencies
None.
21.5 qurt_mapping_create_64()
21.5.1 Function document
21.5.1.1 int qurt_mapping_create_64 ( qurt_addr_t vaddr, qurt_paddr_64_t paddr_64, qurt_size_t size, qurt_mem_cache_mode_t cache_attribs, qurt_perm_t perm )
Create a memory map in the page table .
Related data types
qurt_addr_t
qurt_paddr_64_t
qurt_size_t
qurt_mem_cache_mode_t
qurt_perm_t
Parameters 
Return value
None.
Dependencies
None.
21.6 qurt_mapping_remove()
21.6.1 Function document
21.6.1.1int qurt_mapping_remove ( qurt_addr_t vaddr, qurt_addr_t paddr, qurt_size_t size )
Deletes the specified memory map from the page table .
Related data types
qurt_addr_t
qurt_size_t
Parameters 
Return value
QURT_EOK - Map created .
Dependencies
None.
21.7 qurt_mapping_remove_64()
21.7.1 Function document
21.7.1.1 int qurt_mapping_remove_64 ( qurt_addr_t vaddr, qurt_paddr_64_t paddr_64, qurt_size_t size )
Deletes the specified memory map from the page table .
Related data types
qurt_addr_t
qurt_paddr_64_t
qurt_size_t
Parameters 
Return value
QURT_EOK - success .
Dependencies
None.
21.8 qurt_mem_barrier()
21.8.1 Function document
21.8.1.1 static void qurt_mem_barrier ( void )
Create a barrier for memory transactions .
This operation ensures that before any future memory transactions can be observed globally , All previous memory transactions are globally observable .
Be careful : This operation is as Hexagon barrier Instruction wrapper .
Return value
None.
Dependencies
None.
21.9 qurt_mem_cache_clean()
21.9.1 Function document
21.9.1.1 int qurt_mem_cache_clean ( qurt_addr_t addr, qurt_size_t size, qurt_mem_cache_op_t opcode, qurt_mem_cache_type_t type )
Perform cache cleanup on the data stored in the specified memory area . When Hexagon Processor version is V60 Or higher , Coordinate all data caching operations .
Be careful : Only refresh all operations on the data cache .
This operation flushes and causes the from start address to end address ( Initial address + size ) The contents of all cached rows of are invalid . If the contents of adjacent buffers fall in any buffer line , Can be refreshed and invalidated .
Related data types
qurt_addr_t
qurt_size_t
qurt_mem_cache_op_t
qurt_mem_cache_type_t
Parameters 
Return value
QURT_EOK - Cache operation successfully executed .
QURT_EVAL - Invalid cache type .
QURT_EALIGN - Failed to align data or address .
Dependencies
None.
边栏推荐
- Which direction should college students choose to find jobs after graduation?
- 国产数据库乱象
- [backtracking] full arrangement II leetcode47
- FreeRTOS record (IX. an example of a bare metal project transferring to FreeRTOS)
- The Three Musketeers: One for All!
- Pytorch quantitative perception training (qat) steps
- Document Layout Analysis: A Comprehensive Survey 2019论文学习总结
- 1-10 根据不同的url响应客户端的内容
- Uniapp rich text editor
- PyTorch量化感知训练(QAT)步骤
猜你喜欢

京东与腾讯续签三年战略合作协议;起薪涨至26万元,韩国三星SK争相加薪留住半导体人才;Firefox 102 发布|极客头条

Jupyterbook clear console output

阿婆做的臭豆腐

Stinky tofu made by Grandma

机器学习适合女生学吗?

PostgreSQL存储结构浅析

牛逼|珍藏多年的工具让我实现了带薪摸鱼自由

Introduce an online platform for multi omics integration and network visual analysis

Modify the name of the launched applet

AKK菌——下一代有益菌
随机推荐
《Dynamic Routing Between Capsules》论文学习总结
腾讯3年,功能测试进阶自动化测试,送给在手工测试中迷茫的你
[backtracking] full arrangement leetcode46
Troubleshooting the problem of pytorch geometric torch scatter and torch spark installation errors
看阿里云 CIPU 的 10 大能力
Coredns modifying upstream
Starting from pg15 xid64 ticket skipping again
Excuse me, can I open an account for the company? Is it safe? All the answers you want are here
1-1 数据库的基本概念
PyTorch量化感知训练(QAT)步骤
Is there a shortage? No need to download the free online resources! 2022 favorites must have it!
Do machine learning jobs require graduate students?
The programmer's girlfriend gave me a fatigue driving test
Gartner focuses on low code development in China how UNIPRO practices "differentiation"
Qsort function and Simulation Implementation of qsort function
1-3 使用SQL管理数据库
1-14 express managed static resources
1-19 using CORS to solve interface cross domain problems
根据肠道微生物组重新思考健康饮食
盘点华为云GaussDB(for Redis)六大秒级能力