Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
nvram.h File Reference
#include <linux/types.h>
#include <linux/kernel.h>

Go to the source code of this file.

Data Structures

struct  nvram_header


#define NVRAM_HEADER   0x48534C46 /* 'FLSH' */
#define NVRAM_VERSION   1
#define NVRAM_HEADER_SIZE   20
#define NVRAM_SPACE   0x8000
#define FLASH_MIN   0x00020000 /* Minimum flash size */
#define NVRAM_MAX_VALUE_LEN   255
#define NVRAM_MAX_PARAM_LEN   64
#define NVRAM_ERR_INV_PARAM   -8


int nvram_getenv (char *name, char *val, size_t val_len)

Macro Definition Documentation

#define FLASH_MIN   0x00020000 /* Minimum flash size */

Definition at line 30 of file nvram.h.


Definition at line 36 of file nvram.h.

#define NVRAM_ERR_INV_PARAM   -8

Definition at line 35 of file nvram.h.

#define NVRAM_HEADER   0x48534C46 /* 'FLSH' */

Definition at line 25 of file nvram.h.

#define NVRAM_HEADER_SIZE   20

Definition at line 27 of file nvram.h.

#define NVRAM_MAX_PARAM_LEN   64

Definition at line 33 of file nvram.h.

#define NVRAM_MAX_VALUE_LEN   255

Definition at line 32 of file nvram.h.

#define NVRAM_SPACE   0x8000

Definition at line 28 of file nvram.h.

#define NVRAM_VERSION   1

Definition at line 26 of file nvram.h.

Function Documentation

int nvram_getenv ( char name,
char val,
size_t  val_len 

Definition at line 89 of file nvram.c.