kernelLib.h
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:1k
源码类别:

VxWorks

开发平台:

C/C++

  1. /* kernelLib.h - header file for kernelLib.c */
  2. /* Copyright 1984-1992 Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 01e,22sep92,rrr  added support for c++
  7. 01d,04jul92,jcf  cleaned up.
  8. 01c,26may92,rrr  the tree shuffle
  9. 01b,04oct91,rrr  passed through the ansification filter
  10.   -fixed #else and #endif
  11.   -changed VOID to void
  12.   -changed copyright notice
  13. 01a,05oct90,shl created.
  14. */
  15. #ifndef __INCkernelLibh
  16. #define __INCkernelLibh
  17. #ifdef __cplusplus
  18. extern "C" {
  19. #endif
  20. /* function declarations */
  21. #if defined(__STDC__) || defined(__cplusplus)
  22. extern char * kernelVersion (void);
  23. extern STATUS  kernelTimeSlice (int ticks);
  24. extern void  kernelInit (FUNCPTR rootRtn, unsigned rootMemSize,
  25.     char *pMemPoolStart, char *pMemPoolEnd,
  26.     unsigned intStackSize, int lockOutLevel);
  27. #else
  28. extern char * kernelVersion ();
  29. extern STATUS  kernelTimeSlice ();
  30. extern void  kernelInit ();
  31. #endif /* __STDC__ */
  32. #ifdef __cplusplus
  33. }
  34. #endif
  35. #endif /* __INCkernelLibh */