threadx_os.h 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /******************************************************************************
  2. ** File Name: threadx_os.h *
  3. ** Author: Xueliang.Wang *
  4. ** DATE: 09/08/2002 *
  5. ** Copyright: 2002 Spreatrum, Incoporated. All Rights Reserved. *
  6. ** Description: This file defines the basic operation interfaces of *
  7. ** RTOS. Including thread control functions, message control *
  8. ** fucntions, event, memory, timer etc.
  9. ******************************************************************************
  10. ******************************************************************************
  11. ** Edit History *
  12. ** ------------------------------------------------------------------------- *
  13. ** DATE NAME DESCRIPTION *
  14. ** 09/08/2002 Xueliang.Wang Create *
  15. ** 09/12/2002 Zhemin.Lin Modify according to CR:MS00004678 *
  16. ******************************************************************************/
  17. #ifndef _THREADX_OS_H
  18. #define _THREADX_OS_H
  19. /**---------------------------------------------------------------------------*
  20. ** Dependencies *
  21. **---------------------------------------------------------------------------*/
  22. // Define basic proportypes.
  23. #include "sci_types.h"
  24. /**---------------------------------------------------------------------------*
  25. ** Compiler Flag *
  26. **---------------------------------------------------------------------------*/
  27. #ifdef __cplusplus
  28. extern "C" {
  29. #endif
  30. /**---------------------------------------------------------------------------*
  31. ** Constant Variables *
  32. **---------------------------------------------------------------------------*/
  33. /**---------------------------------------------------------------------------*
  34. ** Data Structures *
  35. **---------------------------------------------------------------------------*/
  36. //---------------------------------------------
  37. // RTOS control block define.
  38. //---------------------------------------------
  39. //---------------------------------------------
  40. // Convert macroes.
  41. //---------------------------------------------
  42. // Convert return value.
  43. typedef osiMutex_t SCI_MUTEX_T;
  44. /**---------------------------------------------------------------------------*
  45. ** Function Prototypes *
  46. **---------------------------------------------------------------------------*/
  47. /**---------------------------------------------------------------------------*
  48. ** Compiler Flag *
  49. **---------------------------------------------------------------------------*/
  50. #ifdef __cplusplus
  51. }
  52. #endif
  53. #endif // End of _THREADX_OS_H