1
0
mirror of https://github.com/open-simh/simh.git synced 2026-05-01 22:16:21 +00:00

VAX: Move CPU register and routine declarations into vax_defs.h

Avoid redundant declarations in every simulator module that uses them
and allow compiler to validate consistency of declarations and definitions.
This commit is contained in:
Mark Pizzolato
2016-02-29 16:37:18 -08:00
parent 8d51b3517d
commit 253f8a8dcf
54 changed files with 149 additions and 370 deletions

View File

@@ -48,14 +48,6 @@
#if defined (FULL_VAX)
extern int32 R[16];
extern int32 PSL;
extern int32 trpirq;
extern int32 p1;
extern jmp_buf save_env;
extern int32 Test (uint32 va, int32 acc, int32 *status);
#define WORDSWAP(x) ((((x) & WMASK) << 16) | (((x) >> 16) & WMASK))
typedef struct {
@@ -1251,8 +1243,6 @@ return;
#else
extern jmp_buf save_env;
int32 op_octa (int32 *opnd, int32 cc, int32 opc, int32 acc, int32 spec, int32 va)
{
RSVD_INST_FAULT;