OSDN Git Service

i965_drv_video: add support for H264 on Clarkdale/Arrandale
[android-x86/hardware-intel-common-libva.git] / i965_drv_video / shaders / h264 / mc / BSDReset.asm
1 /*\r
2  * Initial kernel for filling initial BSD command buffer\r
3  * Copyright © <2010>, Intel Corporation.\r
4  *\r
5  * This program is licensed under the terms and conditions of the\r
6  * Eclipse Public License (EPL), version 1.0.  The full text of the EPL is at\r
7  * http://www.opensource.org/licenses/eclipse-1.0.php.\r
8  *\r
9  */\r
10 // Kernel name: BSDReset.asm\r
11 //\r
12 // Initial kernel for filling initial BSD command buffer\r
13 //\r
14 \r
15 // ----------------------------------------------------\r
16 //  Main: BSDReset\r
17 // ----------------------------------------------------\r
18 \r
19 .kernel BSDReset\r
20 BSDRESET:\r
21 \r
22 #include "header.inc"\r
23 \r
24 .code\r
25 #ifdef SW_SCOREBOARD\r
26     CALL(scoreboard_start_inter,1)\r
27         wait    n0:ud           //      Now wait for scoreboard to response\r
28 \r
29 #define BSDRESET_ENABLE\r
30         #include "scoreboard_update.asm"        // scorboard update function\r
31 #undef BSDRESET_ENABLE\r
32 \r
33 #endif  // defined(SW_SCOREBOARD)\r
34 \r
35 // Terminate the thread\r
36 //\r
37     END_THREAD\r
38 \r
39 #if !defined(COMBINED_KERNEL)           // For standalone kernel only\r
40 .end_code\r
41 \r
42 .end_kernel\r
43 #endif  // !defined(COMBINED_KERNEL)\r