当前位置:网站首页>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.
边栏推荐
- 1-10 respond to client content according to different URLs
- Pytorch quantitative practice (2)
- PyTorch量化实践(1)
- Introduction to go web programming: a probe into the excellent test library gocovey
- [backtracking] full arrangement II leetcode47
- 1-20 预检请求
- jupyterbook 清空控制台输出
- PyTorch量化实践(2)
- Notes [introduction to JUC package and future]
- Anaconda下安装Jupyter notebook
猜你喜欢
随机推荐
根据肠道微生物组重新思考健康饮食
Notes [introduction to JUC package and future]
1-18 create the most basic express server & API module for creating routes
ML&DL:机器学习和深度学习中超参数优化的简介、评估指标、过拟合现象、常用的调参优化方法之详细攻略
Ml & DL: Introduction à l’optimisation des hyperparamètres, indice d’évaluation, phénomène de surajustement et introduction détaillée aux méthodes d’optimisation des paramètres couramment utilisées da
Deployment and use of Nacos
Pytorch quantitative perception training (qat) steps
1-13 express监听GET和POST请求&处理请求
1-14 express托管静态资源
The Jenkins download Plug-in can't be downloaded. Solution
1-15 nodemon
Do a scrollbar thinking
1-10 根据不同的url响应客户端的内容
模板方法模式介绍与示例
Inventory the six second level capabilities of Huawei cloud gaussdb (for redis)
WinDbg debugging tool introduction
全面认识痛风:症状、风险因素、发病机理及管理
[introduction to MySQL] the first conversation · first time in the "database" Mainland
Interesting plug-ins summary
[career planning for Digital IC graduates] Chap.1 overview of IC industry chain and summary of representative enterprises