1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-17 15:27:36 +00:00

Only use syscallmap if FM_TRAP or EX_TRAPSTK are defined.

This commit is contained in:
David Greenman 1994-01-03 08:10:47 +00:00
parent c8a13ecd00
commit 0ff4fbb502
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=925

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