processor.h (5b929bd11df23922daf1be5d52731cc3900c1d79) processor.h (9fda6a0681e070b496235b132bc70ceb80300211)
1#ifndef _ASM_X86_PROCESSOR_H
2#define _ASM_X86_PROCESSOR_H
3
4#include <asm/processor-flags.h>
5
6/* Forward declaration, a strange C thing */
7struct task_struct;
8struct mm_struct;
1#ifndef _ASM_X86_PROCESSOR_H
2#define _ASM_X86_PROCESSOR_H
3
4#include <asm/processor-flags.h>
5
6/* Forward declaration, a strange C thing */
7struct task_struct;
8struct mm_struct;
9struct vm86;
9
10
10#include <asm/vm86.h>
11#include <asm/math_emu.h>
12#include <asm/segment.h>
13#include <asm/types.h>
14#include <asm/sigcontext.h>
15#include <asm/current.h>
16#include <asm/cpufeature.h>
17#include <asm/page.h>
18#include <asm/pgtable_types.h>

--- 376 unchanged lines hidden (view full) ---

395 /* Debug status used for traps, single steps, etc... */
396 unsigned long debugreg6;
397 /* Keep track of the exact dr7 value set by the user */
398 unsigned long ptrace_dr7;
399 /* Fault info: */
400 unsigned long cr2;
401 unsigned long trap_nr;
402 unsigned long error_code;
11#include <asm/math_emu.h>
12#include <asm/segment.h>
13#include <asm/types.h>
14#include <asm/sigcontext.h>
15#include <asm/current.h>
16#include <asm/cpufeature.h>
17#include <asm/page.h>
18#include <asm/pgtable_types.h>

--- 376 unchanged lines hidden (view full) ---

395 /* Debug status used for traps, single steps, etc... */
396 unsigned long debugreg6;
397 /* Keep track of the exact dr7 value set by the user */
398 unsigned long ptrace_dr7;
399 /* Fault info: */
400 unsigned long cr2;
401 unsigned long trap_nr;
402 unsigned long error_code;
403#ifdef CONFIG_X86_32
403#ifdef CONFIG_VM86
404 /* Virtual 86 mode info */
404 /* Virtual 86 mode info */
405 struct vm86plus_struct __user *vm86_info;
406 unsigned long screen_bitmap;
407 unsigned long v86flags;
408 unsigned long v86mask;
409 unsigned long saved_sp0;
405 struct vm86 *vm86;
410#endif
411 /* IO permissions: */
412 unsigned long *io_bitmap_ptr;
413 unsigned long iopl;
414 /* Max allowed port in the bitmap, in bytes: */
415 unsigned io_bitmap_max;
416
417 /* Floating point and extended processor state */

--- 295 unchanged lines hidden (view full) ---

713 */
714#define TASK_SIZE PAGE_OFFSET
715#define TASK_SIZE_MAX TASK_SIZE
716#define STACK_TOP TASK_SIZE
717#define STACK_TOP_MAX STACK_TOP
718
719#define INIT_THREAD { \
720 .sp0 = TOP_OF_INIT_STACK, \
406#endif
407 /* IO permissions: */
408 unsigned long *io_bitmap_ptr;
409 unsigned long iopl;
410 /* Max allowed port in the bitmap, in bytes: */
411 unsigned io_bitmap_max;
412
413 /* Floating point and extended processor state */

--- 295 unchanged lines hidden (view full) ---

709 */
710#define TASK_SIZE PAGE_OFFSET
711#define TASK_SIZE_MAX TASK_SIZE
712#define STACK_TOP TASK_SIZE
713#define STACK_TOP_MAX STACK_TOP
714
715#define INIT_THREAD { \
716 .sp0 = TOP_OF_INIT_STACK, \
721 .vm86_info = NULL, \
722 .sysenter_cs = __KERNEL_CS, \
723 .io_bitmap_ptr = NULL, \
724}
725
726extern unsigned long thread_saved_pc(struct task_struct *tsk);
727
728/*
729 * TOP_OF_KERNEL_STACK_PADDING reserves 8 bytes on top of the ring0 stack.

--- 125 unchanged lines hidden ---
717 .sysenter_cs = __KERNEL_CS, \
718 .io_bitmap_ptr = NULL, \
719}
720
721extern unsigned long thread_saved_pc(struct task_struct *tsk);
722
723/*
724 * TOP_OF_KERNEL_STACK_PADDING reserves 8 bytes on top of the ring0 stack.

--- 125 unchanged lines hidden ---