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

VxWorks

开发平台:

C/C++

  1. /* usrWdbTaskDsp.c - optional DSP support for the extern WDB agent */
  2. /* Copyright 1998-2000 Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 01a,16nov00,zl  written based on usrWdbSysFpp.c
  7. */
  8. /*
  9. DESCRIPTION
  10. This library configures the external WDB agent's DSP support.
  11. */
  12. /* externals */
  13. extern BOOL wdbIsInitialized;
  14. /******************************************************************************
  15. *
  16. * wdbSysDspInit - initialize DSP support
  17. *
  18. * This routine initializes DSP support for the external WDB agent.
  19. *
  20. * NOMANUAL
  21. */
  22. void wdbSysDspInit (void)
  23.     {
  24.     WDB_REG_SET_OBJ * pDspRegs;
  25.     /* install system mode agent hook for the DSP unit */
  26.     if (wdbTgtHasDsp() && wdbIsInitialized)
  27. {
  28. pDspRegs = wdbDspLibInit();
  29. wdbExternRegSetObjAdd (pDspRegs);
  30. }
  31.     }