blob: b82fac01fefd7d7f0d773330cdaac073119a3577 [file] [log] [blame]
#ifndef __CPNV_H
#define __CPNV_H
#define CPNV_IOIOCTL_FLUSH 0x2001
#define CPNV_IOIOCTL_RESETNVFACTORY 0x2002
enum cpnv_direction {
TO_NVRW = 17,
TO_NVFAC,
TO_NVRO
};
struct cpnv_readwrite_head {
int direction;
unsigned int NvItemID;
unsigned int NvItemLen;
unsigned char NvItemData[0];
};
extern int cpnv_ChangeNvroAttr(int writable);
#endif