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

VxWorks

开发平台:

C/C++

  1. /* usrWdbTaskFpp.c - optional floating point support for the extern WDB agent */
  2. /* Copyright 1998 Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 01a,22may98,dbt  taken from 01a of usrWdbFpp.c
  7. */
  8. /*
  9. DESCRIPTION
  10. This library configures the external WDB agent's hardware floating point
  11. support.
  12. */
  13. /* externals */
  14. extern BOOL wdbIsInitialized;
  15. /******************************************************************************
  16. *
  17. * wdbSysFppInit - initialize hardware floating point support
  18. *
  19. * This routine initializes hardware floating point support for the external
  20. * WDB agent.
  21. *
  22. * NOMANUAL
  23. */
  24. void wdbSysFppInit (void)
  25.     {
  26.     WDB_REG_SET_OBJ * pFpRegs;
  27.     /* install system mode agent hook for the fpp unit */
  28.     if (wdbTgtHasFpp() && wdbIsInitialized)
  29. {
  30. pFpRegs = wdbFpLibInit();
  31. wdbExternRegSetObjAdd (pFpRegs);
  32. }
  33.     }