Subversion Repositories HelenOS

Rev

Rev 2071 | Rev 2141 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2071 Rev 2076
Line 33... Line 33...
33
 */
33
 */
34
 
34
 
35
#ifndef KERN_sparc64_CACHE_H_
35
#ifndef KERN_sparc64_CACHE_H_
36
#define KERN_sparc64_CACHE_H_
36
#define KERN_sparc64_CACHE_H_
37
 
37
 
-
 
38
#include <mm/page.h>
-
 
39
#include <mm/frame.h>
-
 
40
 
-
 
41
#define dcache_flush_page(p) \
-
 
42
    dcache_flush_color(PAGE_COLOR((p)))
-
 
43
#define dcache_flush_frame(p, f) \
-
 
44
    dcache_flush_tag(PAGE_COLOR((p)), ADDR2PFN((f)));
-
 
45
 
38
extern void dcache_flush(void);
46
extern void dcache_flush(void);
-
 
47
extern void dcache_flush_color(int c);
-
 
48
extern void dcache_flush_tag(int c, pfn_t tag);
39
 
49
 
40
#endif
50
#endif
41
 
51
 
42
/** @}
52
/** @}
43
 */
53
 */