Unix-system-calls-cacheflush
提供:Dev Guides
[top]#
|http://www.google.com/[Google] | a|
Web | This Site |
選択した読書
Copyright©2014 by finddevguides |
[cols=",,,,,,,",] |
| | Home | | References | | Discussion Forums | | About TP
[width="100%",cols="100%",] |
a| == cacheflush()-Unix、Linuxシステムコール
[[File:]] image :http://www.finddevguides.com/images/next.gif [next] image:http://www.finddevguides.com/add- this.gif [AddThisソーシャルブックマークボタン]
広告
NAME
cacheflush-命令および/またはデータキャッシュの内容をフラッシュします
概要
#include <asm/cachectl.h> int cacheflush(char* addr, int nbytes, int cache); |
説明
Tag | Description |
---|---|
ICACHE | Flush the instruction cache. |
DCACHE | Write back to memory and invalidate the affected valid cache lines. |
*BCACHE * | Same as* (ICACHE |
返り値
エラー
Error Code | Description |
---|---|
EFAULT | Some or all of the address range addr to (addr+nbytes-1) is not accessible. |
EINVAL | cache parameter is not one of ICACHE, DCACHE, or BCACHE. |
BUGS
現在の実装では、_addr_および_nbytes_引数を無視します。 したがって、キャッシュ全体が常にフラッシュされます。
NOTE
このシステムコールは、MIPSベースのシステムでのみ使用できます。 移植を目的としたプログラムでは使用しないでください。
[[File:]] image :http://www.finddevguides.com/images/next.gif [next] [[File:]]
広告
|
[cols="^",] |
|Advertisements