|
|
1.1 root 1: /*
2: * Configurable information for "em87" floating point emulator.
3: */
4:
5: #define __KERNEL__ 1
6:
7: #include <signal.h>
8: #include <sys/ndp.h>
9: #include "conf.h"
10:
11: /*
12: * Emulator configuration.
13: * Default values shown.
14: *
15: * ndpCW = 0x0272; NDP Control Word at start of each NDP process.
16: * ndpDump = 0; Change to 1 for NDP register dump on FP exceptions.
17: * ndpType = NDP_TYPE_AUTO; Let CPU do NDP type sensing.
18: * ndpEmSig = SIGFPE; Signal sent on receiving emulator traps.
19: */
20:
21: short ndpCW = 0x0272;
22: short ndpDump = 0;
23: short ndpType = NDP_TYPE_AUTO;
24: int ndpEmSig = SIGFPE;
25:
26: /* Emulator-related function pointers. */
27:
28: int math_emulate();
29: int kfsave();
30: int kfrstor();
31:
32: int (*ndpEmFn)() = math_emulate;
33: int (*ndpKfsave)() = kfsave;
34: int (*ndpKfrstor)() = kfrstor;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.