Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
fpa11.h File Reference
#include <linux/thread_info.h>
#include "fpsr.h"
#include "milieu.h"
#include "softfloat.h"

Go to the source code of this file.

Data Structures

struct  roundingData
 
union  tagFPREG
 
struct  tagFPA11
 

Macros

#define GET_FPA11()   ((FPA11 *)(&current_thread_info()->fpstate))
 
#define GET_USERREG()   ((struct pt_regs *)(THREAD_START_SP + (unsigned long)current_thread_info()) - 1)
 
#define typeNone   0x00
 
#define typeSingle   0x01
 
#define typeDouble   0x02
 
#define typeExtended   0x03
 

Functions

union tagFPREG __attribute__ ((packed, aligned(4))) FPREG
 
int8 SetRoundingMode (const unsigned int)
 
int8 SetRoundingPrecision (const unsigned int)
 
void nwfpe_init_fpa (union fp_state *fp)
 
unsigned int EmulateAll (unsigned int opcode)
 
unsigned int EmulateCPDT (const unsigned int opcode)
 
unsigned int EmulateCPDO (const unsigned int opcode)
 
unsigned int EmulateCPRT (const unsigned int opcode)
 
unsigned int PerformLDF (const unsigned int opcode)
 
unsigned int PerformSTF (const unsigned int opcode)
 
unsigned int PerformLFM (const unsigned int opcode)
 
unsigned int PerformSFM (const unsigned int opcode)
 
unsigned int SingleCPDO (struct roundingData *roundData, const unsigned int opcode, FPREG *rFd)
 
unsigned int DoubleCPDO (struct roundingData *roundData, const unsigned int opcode, FPREG *rFd)
 
unsigned int ExtendedCPDO (struct roundingData *roundData, const unsigned int opcode, FPREG *rFd)
 

Variables

float32 fSingle
 
float64 fDouble
 
u32 padding [3]
 
FPREG fpreg [8]
 
FPSR fpsr
 
FPCR fpcr
 
unsigned char fType [8]
 
int initflag
 

Macro Definition Documentation

#define GET_FPA11 ( )    ((FPA11 *)(&current_thread_info()->fpstate))

Definition at line 25 of file fpa11.h.

#define GET_USERREG ( )    ((struct pt_regs *)(THREAD_START_SP + (unsigned long)current_thread_info()) - 1)

Definition at line 32 of file fpa11.h.

#define typeDouble   0x02

Definition at line 50 of file fpa11.h.

#define typeExtended   0x03

Definition at line 51 of file fpa11.h.

#define typeNone   0x00

Definition at line 48 of file fpa11.h.

#define typeSingle   0x01

Definition at line 49 of file fpa11.h.

Function Documentation

union tagFPREG __attribute__ ( (packed, aligned(4))  )
read

Scatter-gather list for preada/pwritea calls.

< Client physical address of the buffer segment.

< Page table entry describing the caching and location override characteristics of the buffer segment. Some drivers ignore this element and will require that the NOCACHE flag be set on their requests.

< Length of the buffer segment.

Definition at line 1740 of file hypervisor.h.

unsigned int DoubleCPDO ( struct roundingData roundData,
const unsigned int  opcode,
FPREG *  rFd 
)

Definition at line 111 of file double_cpdo.c.

unsigned int EmulateAll ( unsigned int  opcode)

Definition at line 97 of file fpa11.c.

unsigned int EmulateCPDO ( const unsigned int  opcode)

Definition at line 30 of file fpa11_cpdo.c.

unsigned int EmulateCPDT ( const unsigned int  opcode)

Definition at line 390 of file fpa11_cpdt.c.

unsigned int EmulateCPRT ( const unsigned int  opcode)

Definition at line 35 of file fpa11_cprt.c.

unsigned int ExtendedCPDO ( struct roundingData roundData,
const unsigned int  opcode,
FPREG *  rFd 
)

Definition at line 90 of file extended_cpdo.c.

void nwfpe_init_fpa ( union fp_state fp)

Definition at line 85 of file fpa11.c.

unsigned int PerformLDF ( const unsigned int  opcode)

Definition at line 224 of file fpa11_cpdt.c.

unsigned int PerformLFM ( const unsigned int  opcode)

Definition at line 318 of file fpa11_cpdt.c.

unsigned int PerformSFM ( const unsigned int  opcode)

Definition at line 354 of file fpa11_cpdt.c.

unsigned int PerformSTF ( const unsigned int  opcode)

Definition at line 267 of file fpa11_cpdt.c.

int8 SetRoundingMode ( const unsigned  int)

Definition at line 47 of file fpa11.c.

int8 SetRoundingPrecision ( const unsigned  int)

Definition at line 65 of file fpa11.c.

unsigned int SingleCPDO ( struct roundingData roundData,
const unsigned int  opcode,
FPREG *  rFd 
)

Definition at line 88 of file single_cpdo.c.

Variable Documentation

float64 fDouble

Definition at line 66 of file fpa11.h.

FPCR fpcr

Definition at line 94 of file fpa11.h.

FPREG fpreg[8]

Definition at line 92 of file fpa11.h.

FPSR fpsr

Definition at line 93 of file fpa11.h.

float32 fSingle

Definition at line 65 of file fpa11.h.

unsigned char fType[8]

Definition at line 95 of file fpa11.h.

int initflag

Definition at line 98 of file fpa11.h.

u32 padding[3]

Definition at line 70 of file fpa11.h.