Subversion Repositories HelenOS

Rev

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

Rev 2009 Rev 2016
Line 27... Line 27...
27
 */
27
 */
28
 
28
 
29
#include <arch/arch.h>
29
#include <arch/arch.h>
30
 
30
 
31
#define DCACHE_SIZE		(16*1024)
31
#define DCACHE_SIZE		(16*1024)
32
#define DCACHE_LINE_SIZE	64
32
#define DCACHE_LINE_SIZE	32	
33
 
33
 
34
.global dcache_flush
34
.global dcache_flush
35
dcache_flush:
35
dcache_flush:
36
	set (DCACHE_SIZE - DCACHE_LINE_SIZE), %g1
36
	set (DCACHE_SIZE - DCACHE_LINE_SIZE), %g1
37
	stxa %g0, [%g1] ASI_DCACHE_TAG
37
	stxa %g0, [%g1] ASI_DCACHE_TAG