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

Go to the source code of this file.

Data Structures

struct  os_info_entry
 
struct  os_info
 

Macros

#define OS_INFO_VERSION_MAJOR   1
 
#define OS_INFO_VERSION_MINOR   1
 
#define OS_INFO_MAGIC   0x4f53494e464f535aULL /* OSINFOSZ */
 
#define OS_INFO_VMCOREINFO   0
 
#define OS_INFO_REIPL_BLOCK   1
 

Functions

void os_info_init (void)
 
void os_info_entry_add (int nr, void *ptr, u64 len)
 
void os_info_crashkernel_add (unsigned long base, unsigned long size)
 
u32 os_info_csum (struct os_info *os_info)
 

Variables

struct os_info_entry __packed
 

Macro Definition Documentation

#define OS_INFO_MAGIC   0x4f53494e464f535aULL /* OSINFOSZ */

Definition at line 12 of file os_info.h.

#define OS_INFO_REIPL_BLOCK   1

Definition at line 15 of file os_info.h.

#define OS_INFO_VERSION_MAJOR   1

Definition at line 10 of file os_info.h.

#define OS_INFO_VERSION_MINOR   1

Definition at line 11 of file os_info.h.

#define OS_INFO_VMCOREINFO   0

Definition at line 14 of file os_info.h.

Function Documentation

void os_info_crashkernel_add ( unsigned long  base,
unsigned long  size 
)

Definition at line 34 of file os_info.c.

u32 os_info_csum ( struct os_info os_info)

Definition at line 25 of file os_info.c.

void os_info_entry_add ( int  nr,
void ptr,
u64  len 
)

Definition at line 44 of file os_info.c.

void os_info_init ( void  )

Definition at line 55 of file os_info.c.

Variable Documentation