Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
nvram.h File Reference

Go to the source code of this file.

Data Structures

struct  pmac_machine_location
 

Macros

#define NVRAM_SIG_SP   0x02 /* support processor */
 
#define NVRAM_SIG_OF   0x50 /* open firmware config */
 
#define NVRAM_SIG_FW   0x51 /* general firmware */
 
#define NVRAM_SIG_HW   0x52 /* hardware (VPD) */
 
#define NVRAM_SIG_FLIP   0x5a /* Apple flip/flop header */
 
#define NVRAM_SIG_APPL   0x5f /* Apple "system" (???) */
 
#define NVRAM_SIG_SYS   0x70 /* system env vars */
 
#define NVRAM_SIG_CFG   0x71 /* config data */
 
#define NVRAM_SIG_ELOG   0x72 /* error log */
 
#define NVRAM_SIG_VEND   0x7e /* vendor defined */
 
#define NVRAM_SIG_FREE   0x7f /* Free space */
 
#define NVRAM_SIG_OS   0xa0 /* OS defined */
 
#define NVRAM_SIG_PANIC   0xa1 /* Apple OSX "panic" */
 
#define PMAC_XPRAM_MACHINE_LOC   0xe4
 
#define PMAC_XPRAM_SOUND_VOLUME   0x08
 
#define OBSOLETE_PMAC_NVRAM_GET_OFFSET   _IOWR('p', 0x40, int)
 
#define IOC_NVRAM_GET_OFFSET   _IOWR('p', 0x42, int) /* Get NVRAM partition offset */
 
#define IOC_NVRAM_SYNC   _IO('p', 0x43) /* Sync NVRAM image */
 

Enumerations

enum  { pmac_nvram_OF, pmac_nvram_XPRAM, pmac_nvram_NR }
 

Macro Definition Documentation

#define IOC_NVRAM_GET_OFFSET   _IOWR('p', 0x42, int) /* Get NVRAM partition offset */

Definition at line 59 of file nvram.h.

#define IOC_NVRAM_SYNC   _IO('p', 0x43) /* Sync NVRAM image */

Definition at line 60 of file nvram.h.

#define NVRAM_SIG_APPL   0x5f /* Apple "system" (???) */

Definition at line 19 of file nvram.h.

#define NVRAM_SIG_CFG   0x71 /* config data */

Definition at line 21 of file nvram.h.

#define NVRAM_SIG_ELOG   0x72 /* error log */

Definition at line 22 of file nvram.h.

#define NVRAM_SIG_FLIP   0x5a /* Apple flip/flop header */

Definition at line 18 of file nvram.h.

#define NVRAM_SIG_FREE   0x7f /* Free space */

Definition at line 24 of file nvram.h.

#define NVRAM_SIG_FW   0x51 /* general firmware */

Definition at line 16 of file nvram.h.

#define NVRAM_SIG_HW   0x52 /* hardware (VPD) */

Definition at line 17 of file nvram.h.

#define NVRAM_SIG_OF   0x50 /* open firmware config */

Definition at line 15 of file nvram.h.

#define NVRAM_SIG_OS   0xa0 /* OS defined */

Definition at line 25 of file nvram.h.

#define NVRAM_SIG_PANIC   0xa1 /* Apple OSX "panic" */

Definition at line 26 of file nvram.h.

#define NVRAM_SIG_SP   0x02 /* support processor */

Definition at line 14 of file nvram.h.

#define NVRAM_SIG_SYS   0x70 /* system env vars */

Definition at line 20 of file nvram.h.

#define NVRAM_SIG_VEND   0x7e /* vendor defined */

Definition at line 23 of file nvram.h.

#define OBSOLETE_PMAC_NVRAM_GET_OFFSET   _IOWR('p', 0x40, int)

Definition at line 56 of file nvram.h.

#define PMAC_XPRAM_MACHINE_LOC   0xe4

Definition at line 39 of file nvram.h.

#define PMAC_XPRAM_SOUND_VOLUME   0x08

Definition at line 40 of file nvram.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
pmac_nvram_OF 
pmac_nvram_XPRAM 
pmac_nvram_NR 

Definition at line 31 of file nvram.h.