?? mathsoftlib.c
字號:
/* mathSoftLib.c - high-level floating-point emulation library *//* Copyright 1984-1995 Wind River Systems, Inc. */#include "copyright_wrs.h"/*modification history--------------------01a,07apr95,hdn written.*//*DESCRIPTIONThis library initializes software emulation library which is generallyfor use in systems that lack a floating-point coprocessor.SEE ALSO: fppArchLib*/#include "vxWorks.h"/* externals */IMPORT void emu387 (void); /* FPP exception handler */IMPORT void emuInit (void); /* FPP emulater initializer */IMPORT VOIDFUNCPTR emu387Func; /* function pointer to trap handler */IMPORT VOIDFUNCPTR emuInitFunc; /* function pointer to initializer *//******************************************************************************** mathSoftInit - initialize software floating-point math support** This routine set two global pointers, and is called from usrConfig.c* if INCLUDE_SW_FP is defined. This definition causes the linker to* include the floating-point emulation library.** If the system is to use some combination of emulated as well as hardware* coprocessor floating points, then this routine should be called before calling* mathHardInit().** RETURNS: N/A** SEE ALSO: mathHardInit()**/void mathSoftInit (void) { emu387Func = emu387; emuInitFunc = emuInit; }
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -