Only use syscallmap if FM_TRAP or EX_TRAPSTK are defined.
This commit is contained in:
parent
59648ea2fc
commit
7d2bd6aedc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user