Only use syscallmap if FM_TRAP or EX_TRAPSTK are defined.

This commit is contained in:
dg 1994-01-03 08:10:47 +00:00
parent 59648ea2fc
commit 7d2bd6aedc

View File

@ -1543,6 +1543,7 @@ static int trapmap[] =
tEIP, tEFLAGS, tCS, tSS,
tDS, tES, tES, tES /* lies: no fs or gs */
};
#if defined(FM_TRAP) || defined(EX_TRAPSTK)
static int syscallmap[] =
{
sEAX, sECX, sEDX, sEBX,
@ -1550,6 +1551,7 @@ static int syscallmap[] =
sEIP, sEFLAGS, sCS, sSS,
sCS, sCS, sCS, sCS /* lies: no ds, es, fs or gs */
};
#endif
static int *regmap;
static void