Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | RSS feed

  1. /*
  2.  * Copyright © <2010>, Intel Corporation.
  3.  *
  4.  * This program is licensed under the terms and conditions of the
  5.  * Eclipse Public License (EPL), version 1.0.  The full text of the EPL is at
  6.  * http://www.opensource.org/licenses/eclipse-1.0.php.
  7.  *
  8.  */
  9. //=============== Spawn a child thread for a vertical child ===============
  10.  
  11. #if defined(_DEBUG)
  12.         mov     (1)             EntrySignature:w        0x6666:w
  13. #endif
  14.        
  15.         mul     (1)             URBOffset:uw            CurRow:uw               2:w // 5:w                      // Each row uses 5 URB entries (R0, child R0, 3 GRFs of data from left MB)
  16.  
  17.         mov (8)         CT_R0Hdr.0:ud           r0.0<8;8,1>:ud                          // Init to root R0 header
  18.        
  19.         // R0.2: Interface Discriptor Ptr.  Add offset 16 for next Interface Discriptor for child kernel
  20.         add (1)         CT_R0Hdr.2:ud           r0.2:ud                 IDesc_Child_Offset:w
  21.        
  22.         #include "AVC_ILDB_SpawnChild.asm"
  23.