⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nullnvram.c

📁 操作系统vxworks平台下内存控制器设备的驱动程序,支持多种芯片,支持多种cpu
💻 C
字号:
/* nullNvRam.c - null non-volatile RAM library *//* Copyright 1984-1996 Wind River Systems, Inc. */#include "copyright_wrs.h"/*modification history--------------------01g,25jun96,wlf  doc: cleanup.01f,04jun96,wlf  doc: cleanup.01e,24may96,wlf  doc: cleanup.01d,15dec92,caf  reinstated version 01b.01c,21oct92,ccc  fixed ansi warnings.01b,17jul92,caf  changed nullNvram.c to nullNvRam.c.01a,26jun92,caf  created.*//*DESCRIPTIONThis library contains non-volatile RAM manipulation routines for targetslacking non-volatile RAM.  Read and write routines that return ERRORare included.The macro NV_RAM_SIZE should be defined as NONE for targets lackingnon-volatile RAM.*//******************************************************************************** sysNvRamGet - get the contents of non-volatile RAM** This routine copies the contents of non-volatile memory into a specified* string.  The string is terminated with an EOS.** NOTE: This routine has no effect, since there is no non-volatile RAM.** RETURNS: ERROR, always.** SEE ALSO: sysNvRamSet()*/STATUS sysNvRamGet    (    char *string,    /* where to copy non-volatile RAM    */    int strLen,      /* maximum number of bytes to copy   */    int offset       /* byte offset into non-volatile RAM */    )    {    return (ERROR);    }/********************************************************************************* sysNvRamSet - write to non-volatile RAM** This routine copies a specified string into non-volatile RAM.** NOTE: This routine has no effect, since there is no non-volatile RAM.** RETURNS: ERROR, always.** SEE ALSO: sysNvRamGet()*/STATUS sysNvRamSet    (    char *string,     /* string to be copied into non-volatile RAM */    int strLen,       /* maximum number of bytes to copy           */    int offset        /* byte offset into non-volatile RAM         */    )    {    return (ERROR);    }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -