home *** CD-ROM | disk | FTP | other *** search
-
-
-
- CCCCAAAACCCCHHHHEEEEFFFFLLLLUUUUSSSSHHHH((((2222)))) CCCCAAAACCCCHHHHEEEEFFFFLLLLUUUUSSSSHHHH((((2222))))
-
-
-
- NNNNAAAAMMMMEEEE
- cacheflush, _flush_cache - flush contents of instruction and/or data
- cache
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyyssss////ccccaaaacccchhhheeeeccccttttllll....hhhh>>>>
-
- iiiinnnntttt ccccaaaacccchhhheeeefffflllluuuusssshhhh ((((vvvvooooiiiidddd ****aaaaddddddddrrrr,,,, iiiinnnntttt nnnnbbbbyyyytttteeeessss,,,, iiiinnnntttt ccccaaaacccchhhheeee))));;;;
-
- iiiinnnntttt ____fffflllluuuusssshhhh____ccccaaaacccchhhheeee ((((cccchhhhaaaarrrr ****aaaaddddddddrrrr,,,, iiiinnnntttt nnnnbbbbyyyytttteeeessss,,,, iiiinnnntttt ccccaaaacccchhhheeee))));;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _c_a_c_h_e_f_l_u_s_h and __f_l_u_s_h__c_a_c_h_e are different names for the same function.
- They flush the contents of the indicated cache(s) for user addresses in
- the range _a_d_d_r to (_a_d_d_r+_n_b_y_t_e_s-1). The _c_a_c_h_e parameter may be one of:
-
- IIIICCCCAAAACCCCHHHHEEEE Flush only the instruction cache
-
- DDDDCCCCAAAACCCCHHHHEEEE Flush only the data cache
-
- BBBBCCCCAAAACCCCHHHHEEEE Flush both the instruction and the data cache
-
- RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
- _c_a_c_h_e_f_l_u_s_h and __f_l_u_s_h__c_a_c_h_e return 0 when no errors are detected. If
- errors are detected, they return -1 with the error cause indicated in
- _e_r_r_n_o. For IP19, IP21 and IP25, the following describes the action of
- this command on any physical lines corresponding to the input virtual
- address range that may be present in the caches. On IP19 and IP25,
- DCACHE flushing writes back any dirty data and invalidates the cache line
- in the data and the secondary cache. ICACHE flushing on the IP19 and IP25
- consists of invalidating the line in the icache and the secondary cache.
- Additionally, prior to this, if the line is dirty in the dcache and/or
- secondary, it is written back. On IP21s, DCACHE flushing is a no op, and
- ICACHE flushing does not affect the gcache directly, but loads in a set
- of different instructions into the icache. The BCACHE option in all
- cases writes back the lines if they are dirty, and then invalidates them
- if they are present in any of the caches (except for IP21s, where the
- lines are displaced from the icache).
-
-
-
- EEEERRRRRRRROOOORRRRSSSS
- [EINVAL] The _c_a_c_h_e parameter is not one of ICACHE, DCACHE, or
- BCACHE.
-
- [EFAULT] Some or all of the address range _a_d_d_r to (_a_d_d_r+_n_b_y_t_e_s-1)
- is not accessible.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- cachectl(2)
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-