Subversion Repositories HelenOS

Rev

Rev 2296 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2296 Rev 2307
Line 43... Line 43...
43
	stxa %g0, [%g1] ASI_DCACHE_TAG
43
	stxa %g0, [%g1] ASI_DCACHE_TAG
44
0:	membar #Sync
44
0:	membar #Sync
45
	subcc %g1, DCACHE_LINE_SIZE, %g1
45
	subcc %g1, DCACHE_LINE_SIZE, %g1
46
	bnz,pt %xcc, 0b
46
	bnz,pt %xcc, 0b
47
	stxa %g0, [%g1] ASI_DCACHE_TAG
47
	stxa %g0, [%g1] ASI_DCACHE_TAG
-
 
48
	membar #Sync			
48
	retl
49
	retl
-
 
50
	! beware SF Erratum #51, do not put the MEMBAR here
49
	membar #Sync
51
	nop				
50
 
52
 
51
/** Flush only D-cache lines of one virtual color.
53
/** Flush only D-cache lines of one virtual color.
52
 *
54
 *
53
 * @param o0	Virtual color to be flushed.
55
 * @param o0	Virtual color to be flushed.
54
 */
56
 */