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

VxWorks

开发平台:

C/C++

  1. /* memDev.h - generic non-volatile RAM header */
  2. /* Copyright 1984-1992 Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 01d,22sep92,rrr  added support for c++
  7. 01c,07jul92,ccc  change of name to memDev.h.
  8. 01b,29jun92,caf  changed genericNvram.h to genericNvRam.h.
  9. 01a,26jun92,caf  created.
  10. */
  11. /*
  12. DESCRIPTION
  13. This file contains header information for generic non-volatile RAM routines.
  14. */
  15. #ifndef __INCmemDevh
  16. #define __INCmemDevh
  17. #ifdef __cplusplus
  18. extern "C" {
  19. #endif
  20. /* function declarations */
  21. #ifndef _ASMLANGUAGE
  22. #if defined(__STDC__) || defined(__cplusplus)
  23. IMPORT STATUS sysNvRamGet (char *string, int strLen, int offset);
  24. IMPORT STATUS sysNvRamSet (char *string, int strLen, int offset);
  25. #else /* __STDC__ */
  26. IMPORT STATUS sysNvRamGet ();
  27. IMPORT STATUS sysNvRamSet ();
  28. #endif /* __STDC__ */
  29. #endif /* _ASMLANGUAGE */
  30. #ifdef __cplusplus
  31. }
  32. #endif
  33. #endif /* __INCmemDevh */