Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
5361 serge 1
/*
2
 * Common module to end current intra thread
3
 * Copyright © <2010>, Intel Corporation.
4
 *
5
 * This program is licensed under the terms and conditions of the
6
 * Eclipse Public License (EPL), version 1.0.  The full text of the EPL is at
7
 * http://www.opensource.org/licenses/eclipse-1.0.php.
8
 *
9
 */
10
// Kernel name: EndIntraThread.asm
11
//
12
// Common module to end current intra thread
13
//
14
#ifndef SW_SCOREBOARD
15
// Check for write commit first if SW scoreboard is disabled
16
	mov	(1)	REG_WRITE_COMMIT_Y<1>:ud	REG_WRITE_COMMIT_Y<0;1,0>:ud		// Make sure Y write is committed
17
	mov	(1)	REG_WRITE_COMMIT_UV<1>:ud	REG_WRITE_COMMIT_UV<0;1,0>:ud		// Make sure U/V write is committed
18
#endif
19
 
20
	END_THREAD
21
 
22
    #include "Intra_funcLib.asm"
23
 
24
#ifndef COMBINED_KERNEL		// For standalone kernel only
25
.end_code
26
 
27
.end_kernel
28
#endif	// COMBINED_KERNEL
29
 
30
// End of EndIntraThread