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

VxWorks

开发平台:

C/C++

  1. /* usrWdbFpp.c - optional floating point support for the WDB agent */
  2. /* Copyright 1997-1998 Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 01b,22may98,dbt  moved fpp task mode support in usrWdbTaskFpp.c and 
  7.  system mode support in usrWdbSysFpp.c.
  8. 01a,21jul97,ms  taken from 01y of usrWdb.c
  9. */
  10. /*
  11. DESCRIPTION
  12. This library configures the WDB agent's hardware floating point
  13. support.
  14. */
  15. extern void wdbTgtHasFppSet(void);
  16. /******************************************************************************
  17. *
  18. * wdbFppInit - initialize hardware floating point support
  19. */
  20. void wdbFppInit (void)
  21.     {
  22.     /* no fpp unit - just return */
  23.     if (fppProbe() == ERROR)
  24. return;
  25.     /* mark fpp unit as available */
  26.     wdbTgtHasFppSet();
  27.     }