f6064b7385b0619d9fe09dab76e482a0d95e89c1
[deliverable/linux.git] / arch / x86 / include / asm / suspend_32.h
1 /*
2 * Copyright 2001-2002 Pavel Machek <pavel@suse.cz>
3 * Based on code
4 * Copyright 2001 Patrick Mochel <mochel@osdl.org>
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 idt;
19 u16 ldt;
20 u16 tss;
21 unsigned long tr;
22 unsigned long safety;
23 unsigned long return_address;
24 } __attribute__((packed));
25
26 #endif /* _ASM_X86_SUSPEND_32_H */
This page took 0.031716 seconds and 4 git commands to generate.