|
|
coherent
/* * Configurable information for "em87" floating point emulator. */ #define __KERNEL__ 1 #include <signal.h> #include <sys/ndp.h> #include "conf.h" /* * Emulator configuration. * Default values shown. * * ndpCW = 0x0272; NDP Control Word at start of each NDP process. * ndpDump = 0; Change to 1 for NDP register dump on FP exceptions. * ndpType = NDP_TYPE_AUTO; Let CPU do NDP type sensing. * ndpEmSig = SIGFPE; Signal sent on receiving emulator traps. */ short ndpCW = 0x0272; short ndpDump = 0; short ndpType = NDP_TYPE_AUTO; int ndpEmSig = SIGFPE; /* Emulator-related function pointers. */ int math_emulate(); int kfsave(); int kfrstor(); int (*ndpEmFn)() = math_emulate; int (*ndpKfsave)() = kfsave; int (*ndpKfrstor)() = kfrstor;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.