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

VxWorks

开发平台:

C/C++

  1. /* 00arch.cdf - architecture component description file */
  2. /* Copyright 1998-2001 Wind River Systems, Inc.  */
  3. /*
  4. modification history
  5. --------------------
  6. 01a,08nov01,jn   Switched to ELF loader, added modification history and 
  7.  WindRiver headers
  8. */
  9. /*
  10. DESCRIPTION
  11. The Tornado Project Facility sources all component description files (CDF)
  12. in a particular order.  The CDF files in these directories are processed in
  13. the order in which they are presented: comps/vxWorks,
  14. comps/vxWorks/arch/<arch>, config/<bsp>, and the project directory.  If
  15. two CDF files describe the same component, the file read last overrides
  16. all earlier files.  As a result, CDF files processed later by the Project
  17. Facility are said to have a higher precedence than those processed
  18. earlier.  Given such functionality, this file contains
  19. architecture-specific VxWorks components and component definitions which
  20. override "generic" components defined in comps/vxWorks.
  21. If a new component is released, a new .cdf file should be deposited
  22. in the appropriate directory, rather than modifying existing files.
  23. For more information, see the .I "Tornado BSP Developer's Kit for VxWorks
  24. User's Guide, Tornado 2.0: Components".
  25. */
  26. Component INCLUDE_LOADER {
  27.         SYNOPSIS        ELF loader
  28.         MODULES         loadLib.o loadElfLib.o elfArm.o
  29.         INIT_RTN        loadElfInit ();
  30.         HDR_FILES       loadElfLib.h
  31. }
  32. Parameter INT_LOCK_LEVEL {
  33. NAME INT lock level
  34. SYNOPSIS Interrupt lock level
  35. DEFAULT 0x0
  36. }
  37. Parameter ROOT_STACK_SIZE {
  38. NAME Root stack size
  39. SYNOPSIS Root task stack size (bytes)
  40. DEFAULT 0x4000
  41. }
  42. Parameter SHELL_STACK_SIZE {
  43. NAME Shell stack size
  44. SYNOPSIS Shell stack size (bytes)
  45. DEFAULT 0x10000
  46. }
  47. Parameter WDB_STACK_SIZE {
  48. NAME WDB Stack size
  49. SYNOPSIS WDB Stack size (bytes)
  50. DEFAULT 0x2000
  51. }
  52. Parameter VEC_BASE_ADRS {
  53. NAME Vector base address
  54. SYNOPSIS Vector base address
  55. DEFAULT ((char *)LOCAL_MEM_LOCAL_ADRS)
  56. }
  57. Parameter ROM_WARM_ADRS {
  58. NAME ROM warm boot address
  59. SYNOPSIS ROM warm boot address
  60. DEFAULT (ROM_TEXT_ADRS + 4)
  61. }