Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions | Variables
vdso32-setup.c File Reference
#include <linux/init.h>
#include <linux/smp.h>
#include <linux/thread_info.h>
#include <linux/sched.h>
#include <linux/gfp.h>
#include <linux/string.h>
#include <linux/elf.h>
#include <linux/mm.h>
#include <linux/err.h>
#include <linux/module.h>
#include <asm/cpufeature.h>
#include <asm/msr.h>
#include <asm/pgtable.h>
#include <asm/unistd.h>
#include <asm/elf.h>
#include <asm/tlbflush.h>
#include <asm/vdso.h>
#include <asm/proto.h>

Go to the source code of this file.

Macros

#define VDSO_DEFAULT   VDSO_ENABLED
 
#define VDSO_ADDR_ADJUST   (VDSO_HIGH_BASE - (unsigned long)VDSO32_PRELINK)
 
#define vdso32_sysenter()   (boot_cpu_has(X86_FEATURE_SEP))
 
#define vdso32_syscall()   (0)
 
#define compat_uses_vma   0
 

Enumerations

enum  { VDSO_DISABLED = 0, VDSO_ENABLED = 1, VDSO_COMPAT = 2 }
 

Functions

 __setup ("vdso32=", vdso_setup)
 
void enable_sep_cpu (void)
 
int __init sysenter_setup (void)
 
int arch_setup_additional_pages (struct linux_binprm *bprm, int uses_interp)
 
const chararch_vma_name (struct vm_area_struct *vma)
 
struct vm_area_structget_gate_vma (struct mm_struct *mm)
 
int in_gate_area (struct mm_struct *mm, unsigned long addr)
 
int in_gate_area_no_mm (unsigned long addr)
 

Variables

unsigned int __read_mostly vdso_enabled = VDSO_DEFAULT
 

Macro Definition Documentation

#define compat_uses_vma   0

Definition at line 257 of file vdso32-setup.c.

#define vdso32_syscall ( )    (0)

Definition at line 224 of file vdso32-setup.c.

#define vdso32_sysenter ( )    (boot_cpu_has(X86_FEATURE_SEP))

Definition at line 223 of file vdso32-setup.c.

#define VDSO_ADDR_ADJUST   (VDSO_HIGH_BASE - (unsigned long)VDSO32_PRELINK)

Definition at line 51 of file vdso32-setup.c.

#define VDSO_DEFAULT   VDSO_ENABLED

Definition at line 38 of file vdso32-setup.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
VDSO_DISABLED 
VDSO_ENABLED 
VDSO_COMPAT 

Definition at line 29 of file vdso32-setup.c.

Function Documentation

__setup ( )
int arch_setup_additional_pages ( struct linux_binprm bprm,
int  uses_interp 
)

Definition at line 307 of file vdso32-setup.c.

const char* arch_vma_name ( struct vm_area_struct vma)

Definition at line 405 of file vdso32-setup.c.

void enable_sep_cpu ( void  )

Definition at line 226 of file vdso32-setup.c.

struct vm_area_struct* get_gate_vma ( struct mm_struct mm)
read

Definition at line 412 of file vdso32-setup.c.

int in_gate_area ( struct mm_struct mm,
unsigned long  addr 
)

Definition at line 423 of file vdso32-setup.c.

int in_gate_area_no_mm ( unsigned long  addr)

Definition at line 430 of file vdso32-setup.c.

int __init sysenter_setup ( void  )

Definition at line 277 of file vdso32-setup.c.

Variable Documentation

unsigned int __read_mostly vdso_enabled = VDSO_DEFAULT

Definition at line 57 of file vdso32-setup.c.