01vxmp.cdf
上传用户:nvosite88
上传日期:2007-01-17
资源大小:4983k
文件大小:2k
源码类别:

VxWorks

开发平台:

C/C++

  1. /*
  2. Copyright 1998-2002 Wind River Systems, Inc.
  3. modification history
  4. --------------------
  5. 01b,11mar02,mas  added default for SM_OBJ_MEM_ADRS (SPR 73371)
  6. 01a,12nov01,mas  written based on 00vxWorks.cdf: 02v,05nov01,gls
  7. DESCRIPTION
  8.   This file contains the description for the optional VxWorks product VxMP.
  9. */
  10. Component INCLUDE_SM_OBJ {
  11. NAME shared memory objects
  12. CONFIGLETTES usrSmObj.c
  13. MODULES smObjLib.o
  14. INIT_RTN usrSmObjInit (BOOT_LINE_ADRS);
  15. _INIT_ORDER usrKernelExtraInit
  16. INIT_AFTER INCLUDE_SM_COMMON
  17. _CHILDREN FOLDER_KERNEL
  18. REQUIRES INCLUDE_SM_COMMON
  19. CFG_PARAMS SM_OBJ_MEM_ADRS
  20. SM_OBJ_MAX_TASK
  21. SM_OBJ_MAX_SEM
  22. SM_OBJ_MAX_MSG_Q
  23. SM_OBJ_MAX_MEM_PART
  24. SM_OBJ_MAX_NAME
  25. SM_OBJ_MAX_TRIES
  26. HDR_FILES sysLib.h stdio.h stdlib.h private/funcBindP.h 
  27. smLib.h smObjLib.h smPktLib.h cacheLib.h 
  28. vxLib.h string.h usrConfig.h
  29. }
  30. Parameter SM_OBJ_MEM_ADRS {
  31. NAME shared memory object base address, NONE = allocate
  32. DEFAULT NONE
  33. }
  34. Parameter SM_OBJ_MAX_TASK {
  35. NAME max # of tasks using smObj
  36. TYPE uint
  37. DEFAULT 40
  38. }
  39. Parameter SM_OBJ_MAX_SEM {
  40. NAME max # of shared semaphores
  41. TYPE uint
  42. DEFAULT 60
  43. }
  44. Parameter SM_OBJ_MAX_MSG_Q {
  45. NAME max # of shared message queues
  46. TYPE uint
  47. DEFAULT 10
  48. }
  49. Parameter SM_OBJ_MAX_MEM_PART {
  50. NAME max # of shared memory partitions
  51. TYPE uint
  52. DEFAULT 4
  53. }
  54. Parameter SM_OBJ_MAX_NAME {
  55. NAME max # of shared objects names
  56. TYPE uint
  57. DEFAULT 100
  58. }
  59. Parameter SM_OBJ_MAX_TRIES {
  60. NAME max # of tries to obtain lock
  61. TYPE uint
  62. DEFAULT 5000
  63. }