Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
hibernate_64.c File Reference
#include <linux/gfp.h>
#include <linux/smp.h>
#include <linux/suspend.h>
#include <asm/proto.h>
#include <asm/page.h>
#include <asm/pgtable.h>
#include <asm/mtrr.h>
#include <asm/suspend.h>

Go to the source code of this file.

Data Structures

struct  restore_data_record
 

Macros

#define RESTORE_MAGIC   0x0123456789ABCDEFUL
 

Functions

int restore_image (void)
 
int swsusp_arch_resume (void)
 
int pfn_is_nosave (unsigned long pfn)
 
int arch_hibernation_header_save (void *addr, unsigned int max_size)
 
int arch_hibernation_header_restore (void *addr)
 

Variables

const void __nosave_begin
 
const void __nosave_end
 
unsigned long restore_jump_address
 
unsigned long restore_cr3
 
pgd_ttemp_level4_pgt
 
voidrelocated_restore_code
 

Macro Definition Documentation

#define RESTORE_MAGIC   0x0123456789ABCDEFUL

Definition at line 140 of file hibernate_64.c.

Function Documentation

int arch_hibernation_header_restore ( void addr)

arch_hibernation_header_restore - read the architecture specific data from the hibernation image header : address to read the data from

Definition at line 164 of file hibernate_64.c.

int arch_hibernation_header_save ( void addr,
unsigned int  max_size 
)

arch_hibernation_header_save - populate the architecture specific part of a hibernation image header : address to save the data at

Definition at line 147 of file hibernate_64.c.

int pfn_is_nosave ( unsigned long  pfn)

Definition at line 127 of file hibernate_64.c.

int restore_image ( void  )
int swsusp_arch_resume ( void  )

Definition at line 105 of file hibernate_64.c.

Variable Documentation

const void __nosave_begin
const void __nosave_end
void* relocated_restore_code

Definition at line 40 of file hibernate_64.c.

unsigned long restore_cr3

Definition at line 36 of file hibernate_64.c.

unsigned long restore_jump_address

Definition at line 30 of file hibernate_64.c.

pgd_t* temp_level4_pgt

Definition at line 38 of file hibernate_64.c.