Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | RSS feed

  1. /*
  2.  * Initial kernel for filling initial BSD command buffer
  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: BSDReset.asm
  11. //
  12. // Initial kernel for filling initial BSD command buffer
  13. //
  14.  
  15. // ----------------------------------------------------
  16. //  Main: BSDReset
  17. // ----------------------------------------------------
  18.  
  19. .kernel BSDReset
  20. BSDRESET:
  21.  
  22. #include "header.inc"
  23.  
  24. .code
  25. #ifdef SW_SCOREBOARD
  26.     CALL(scoreboard_start_inter,1)
  27.         wait    n0:ud           //      Now wait for scoreboard to response
  28.  
  29. #define BSDRESET_ENABLE
  30.         #include "scoreboard_update.asm"        // scorboard update function
  31. #undef BSDRESET_ENABLE
  32.  
  33. #endif  // defined(SW_SCOREBOARD)
  34.  
  35. // Terminate the thread
  36. //
  37.     END_THREAD
  38.  
  39. #if !defined(COMBINED_KERNEL)           // For standalone kernel only
  40. .end_code
  41.  
  42. .end_kernel
  43. #endif  // !defined(COMBINED_KERNEL)
  44.