Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
get_address.c File Reference
#include <linux/stddef.h>
#include <asm/uaccess.h>
#include <asm/desc.h>
#include "fpu_system.h"
#include "exception.h"
#include "fpu_emu.h"

Go to the source code of this file.

Macros

#define FPU_WRITE_BIT   0x10
 
#define REG_(x)   (*(long *)(reg_offset[(x)] + (u_char *)FPU_info->regs))
 
#define VM86_REG_(x)
 
#define PM_REG_(x)
 

Functions

void __userFPU_get_address (u_char FPU_modrm, unsigned long *fpu_eip, struct address *addr, fpu_addr_modes addr_modes)
 
void __userFPU_get_address_16 (u_char FPU_modrm, unsigned long *fpu_eip, struct address *addr, fpu_addr_modes addr_modes)
 

Macro Definition Documentation

#define FPU_WRITE_BIT   0x10

Definition at line 29 of file get_address.c.

#define PM_REG_ (   x)
Value:
(*(unsigned short *) \
(reg_offset_pm[((unsigned)x)] + (u_char *)FPU_info->regs))

Definition at line 67 of file get_address.c.

#define REG_ (   x)    (*(long *)(reg_offset[(x)] + (u_char *)FPU_info->regs))

Definition at line 42 of file get_address.c.

#define VM86_REG_ (   x)
Value:
(*(unsigned short *) \
(reg_offset_vm86[((unsigned)x)] + (u_char *)FPU_info->regs))

Definition at line 54 of file get_address.c.

Function Documentation

void __user* FPU_get_address ( u_char  FPU_modrm,
unsigned long fpu_eip,
struct address addr,
fpu_addr_modes  addr_modes 
)

Definition at line 208 of file get_address.c.

void __user* FPU_get_address_16 ( u_char  FPU_modrm,
unsigned long fpu_eip,
struct address addr,
fpu_addr_modes  addr_modes 
)

Definition at line 293 of file get_address.c.