Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
suspend_64.h File Reference
#include <asm/desc.h>
#include <asm/i387.h>

Go to the source code of this file.

Data Structures

struct  saved_context
 

Macros

#define loaddebug(thread, register)   set_debugreg((thread)->debugreg##register, register)
 

Functions

struct saved_context __attribute__ ((packed))
 
int acpi_save_state_mem (void)
 

Variables

struct pt_regs regs
 
u16 ds
 
u16 es
 
u16 fs
 
u16 gs
 
u16 ss
 
unsigned long gs_base
 
unsigned long gs_kernel_base
 
unsigned long fs_base
 
unsigned long cr0
 
unsigned long cr2
 
unsigned long cr3
 
unsigned long cr4
 
unsigned long cr8
 
u64 misc_enable
 
bool misc_enable_saved
 
unsigned long efer
 
u16 gdt_pad
 
u16 gdt_limit
 
unsigned long gdt_base
 
u16 idt_pad
 
u16 idt_limit
 
unsigned long idt_base
 
u16 ldt
 
u16 tss
 
unsigned long tr
 
unsigned long safety
 
unsigned long return_address
 
char core_restore_code
 
char restore_registers
 

Macro Definition Documentation

#define loaddebug (   thread,
  register 
)    set_debugreg((thread)->debugreg##register, register)

Definition at line 41 of file suspend_64.h.

Function Documentation

struct saved_context __attribute__ ( (packed)  )
read

Definition at line 171 of file esd_usb2.c.

int acpi_save_state_mem ( void  )

Variable Documentation

char core_restore_code
unsigned long cr0

Definition at line 43 of file suspend_64.h.

unsigned long cr2

Definition at line 43 of file suspend_64.h.

unsigned long cr3

Definition at line 43 of file suspend_64.h.

unsigned long cr4

Definition at line 43 of file suspend_64.h.

unsigned long cr8

Definition at line 43 of file suspend_64.h.

u16 ds

Definition at line 41 of file suspend_64.h.

unsigned long efer

Definition at line 46 of file suspend_64.h.

u16 es

Definition at line 41 of file suspend_64.h.

u16 fs

Definition at line 41 of file suspend_64.h.

unsigned long fs_base

Definition at line 42 of file suspend_64.h.

unsigned long gdt_base

Definition at line 49 of file suspend_64.h.

u16 gdt_limit

Definition at line 48 of file suspend_64.h.

u16 gdt_pad

Definition at line 47 of file suspend_64.h.

u16 gs

Definition at line 41 of file suspend_64.h.

unsigned long gs_base

Definition at line 42 of file suspend_64.h.

unsigned long gs_kernel_base

Definition at line 42 of file suspend_64.h.

unsigned long idt_base

Definition at line 52 of file suspend_64.h.

u16 idt_limit

Definition at line 51 of file suspend_64.h.

u16 idt_pad

Definition at line 50 of file suspend_64.h.

u16 ldt

Definition at line 53 of file suspend_64.h.

u64 misc_enable

Definition at line 44 of file suspend_64.h.

bool misc_enable_saved

Definition at line 45 of file suspend_64.h.

Definition at line 40 of file suspend_64.h.

char restore_registers
unsigned long return_address

Definition at line 57 of file suspend_64.h.

unsigned long safety

Definition at line 56 of file suspend_64.h.

u16 ss

Definition at line 41 of file suspend_64.h.

unsigned long tr

Definition at line 55 of file suspend_64.h.

u16 tss

Definition at line 54 of file suspend_64.h.