1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

Bandaid old register offset code after md_regs changed type..

Submitted by: Eivind Eklund <perhaps@yes.no>
This commit is contained in:
Peter Wemm 1997-05-09 04:02:58 +00:00
parent ba1478c15d
commit 230ebd9559
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=25597

View File

@ -6,7 +6,7 @@
* [expediant "port" of linux 8087 emulator to 386BSD, with apologies -wfj]
*
* from: 386BSD 0.1
* $Id$
* $Id: math_emulate.c,v 1.21 1997/02/22 09:32:30 peter Exp $
*/
/*
@ -613,7 +613,7 @@ static int __regoffset[] = {
tEAX, tECX, tEDX, tEBX, tESP, tEBP, tESI, tEDI
};
#define REG(x) (curproc->p_md.md_regs[__regoffset[(x)]])
#define REG(x) ((int *)(curproc->p_md.md_regs[__regoffset[(x)]]))
static char *
sib(struct trapframe * info, int mod)