Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
arch
x86
include
asm
suspend_32.h
Go to the documentation of this file.
1
/*
2
* Copyright 2001-2002 Pavel Machek <
[email protected]
>
3
* Based on code
4
* Copyright 2001 Patrick Mochel <
[email protected]
>
5
*/
6
#ifndef _ASM_X86_SUSPEND_32_H
7
#define _ASM_X86_SUSPEND_32_H
8
9
#include <asm/desc.h>
10
#include <
asm/i387.h
>
11
12
/* image of the saved processor state */
13
struct
saved_context
{
14
u16
es
,
fs
,
gs
,
ss
;
15
unsigned
long
cr0
,
cr2
,
cr3
,
cr4
;
16
u64
misc_enable
;
17
bool
misc_enable_saved
;
18
struct
desc_ptr
gdt
;
19
struct
desc_ptr
idt
;
20
u16
ldt
;
21
u16
tss
;
22
unsigned
long
tr
;
23
unsigned
long
safety
;
24
unsigned
long
return_address
;
25
}
__attribute__
((packed));
26
27
#endif
/* _ASM_X86_SUSPEND_32_H */
Generated on Thu Jan 10 2013 13:20:08 for Linux Kernel by
1.8.2