当前位置:网站首页>B_ QuRT_ User_ Guide(32)
B_ QuRT_ User_ Guide(32)
2022-06-30 22:04:00 【weixin_ thirty-eight million four hundred and ninety-eight thou】
B_QuRT_User_Guide(32 )
21.10 qurt_mem_cache_clean2()
21.10.1 Function document
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 )
Perform a data cache cleanup operation on the data stored in the specified memory area . The API Only perform the following data cache operations .
- qurt_mem_cache_flush
- qurt_mem_cache_invalidate
- qurt_mem_cache_flush_invalidate
This operation washes away / Verified from start address to end address ( Start address + size ) The contents of all cached rows . If the contents of adjacent buffers fall in any buffer line , Can be refreshed / verification .
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 performed successfully.
QURT_EVAL – Invalid cache type.
Dependencies
None.
21.11 qurt_mem_cache_phys_clean()
21.11.1 Function document
21.11.1.1 int qurt_mem_cache_phys_clean ( unsigned int mask, unsigned int addrmatch, qurt_mem_cache_op_t opcode )
Match and mask according to the address , Perform cache cleanup on the data stored in the specified memory area . When (LINE.PhysicalPageNumber & MASK) == ADDRMATCH when , Operate on a cache row .
Be careful :addrmatch The value should be the upper... To match 24 Bit physical address .
Related data types
qurt_mem_cache_op_t
Parameters 
Return value
QURT_EOK - Cache operation successfully executed .
QURT_EVAL - Invalid operation
Dependencies
None.
21.12 qurt_mem_configure_cache_partition()
21.12.1 Function document
21.12.1.1 int qurt_mem_configure_cache_partition ( qurt_cache_type_t cache_type, qurt_cache_partition_size_t partition_size )
Configure at the system level Hexagon Cache partition .
Partition size value SEVEN_EIGHTHS_SIZE Only applicable to L2 cache . stay Hexagon Processor version V60 Or later versions do not support L1 Cache partition . Be careful : Only in QuRT This operation is called with the permission of the operating system .
Related data types
qurt_cache_type_t
qurt_cache_partition_size_t
Parameters 
Return value
QURT_EOK – Success.
QURT_EVAL – Error.
Dependencies
None.
## 21.12 qurt_mem_configure_cache_partition()
21.13 qurt_mem_l2cache_line_lock()
21.13.1 Function document
21.13.1.1 int qurt_mem_l2cache_line_lock ( qurt_addr_t addr, qurt_size_t size )
Configure at the system level Hexagon Cache partition .
Partition size value SEVEN_EIGHTHS_SIZE Only applicable to L2 cache . stay Hexagon Processor version V60 Or later versions do not support L1 Cache partition . Be careful : Only in QuRT This operation is called with the permission of the operating system .
Related data types
qurt_addr_t
qurt_size_t
Parameters 
Return value
QURT_EOK - success .
QURT_EALIGN - Data alignment or address failure .
Dependencies
None.
21.14 qurt_mem_l2cache_line_unlock()
21.14.1 Function document
21.14.1.1 int qurt_mem_l2cache_line_unlock ( qurt_addr_t addr, qurt_size_t size )
Perform an unlocking operation of L2 cache rows . This function is in the L2 Unlock selective rows in the cache .
Selective lines in memory .
Be careful : Only right 32 The byte aligned size and address perform the row unlocking operation .
Related data types
qurt_addr_t
qurt_size_t
Parameters 
Return value
QURT_EOK - success .
QURT_EALIGN - Failed to align data or address .QURT_EFAILED - operation failed , Cannot find a matching tag .
Dependencies
None.
21.15 qurt_mem_map_static_query()
21.15.1 Function document
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 )
Determines whether a memory page is statically mapped . The page is specified by the following properties : Physical address 、 Page size 、 Cache mode and memory permissions .
- If the specified page is statically mapped ,vaddr Return the virtual address of the page .
- If the page is not statically mapped ( Or the specified page does not exist ),vaddr return -1 As a virtual address value .
The system configuration file defines QuRT Memory mapping .
Related data types
qurt_addr_t
qurt_mem_cache_mode_t
qurt_perm_t
Parameters
Return value
QURT_EOK - The specified page is statically mapped ,vaddr Return the virtual address .QURT_EMEM - The specified page is not statically mapped ,vaddr return -1.QURT_EVAL - The specified page does not exist .
Dependencies
None.
边栏推荐
- Gartner focuses on low code development in China how UNIPRO practices "differentiation"
- Introduction and example of template method mode
- 机器学习中如何使用数据集?
- The programmer's girlfriend gave me a fatigue driving test
- Summary of interesting websites
- 1-2 安装并配置MySQL相关的软件
- VIM common shortcut keys
- Uniapp life cycle / route jump
- 微服務鏈路風險分析
- 微服务链路风险分析
猜你喜欢

Jupyterbook clear console output

1. Summary of wechat applet page Jump methods; 2. the navigateto stack does not jump to the tenth floor

吴恩达的机器学习适合入门吗?

USBCAN分析仪的配套CAN和CANFD综合测试软件LKMaster软件解决工程师CAN总线测试难题

1-2 安装并配置MySQL相关的软件

阿婆做的臭豆腐

根据肠道微生物组重新思考健康饮食

Starting from pg15 xid64 ticket skipping again

Zhoushaojian, rare

Anaconda下安装Jupyter notebook
随机推荐
Modify the name of the launched applet
[untitled] first time to participate in CSDN activities
兴奋神经递质——谷氨酸与大脑健康
Anaconda下安装Jupyter notebook
Summary of errors reported when using YML file to migrate CONDA environment
Inventory the six second level capabilities of Huawei cloud gaussdb (for redis)
阿婆做的臭豆腐
1-1 basic concepts of database
1-18 create the most basic express server & API module for creating routes
MFC interface library bcgcontrolbar v33.0 - desktop alarm window, grid control upgrade, etc
Is there a shortage? No need to download the free online resources! 2022 favorites must have it!
[backtracking] full arrangement leetcode46
1-18 创建最基本的express服务器&创建路由的API模块
Docker installing MySQL
Is Wu Enda's machine learning suitable for entry?
机器学习工作要求研究生吗?
1-3 using SQL to manage databases
Usbcan analyzer's supporting can and canfd comprehensive test software lkmaster software solves engineers' can bus test problems
[introduction to MySQL] the first conversation · first time in the "database" Mainland
1-19 利用CORS解决接口跨域问题