File:  [MW Coherent from dump] / coherent / f / etc / conf / em87 / src / Space.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:39 2019 UTC (7 years, 2 months ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
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;

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.