Fatal trap 13: Brain fault, commit botched.
Current task: transcribing patch Time: for a coffee Faulting address: bde
This commit is contained in:
parent
dadf1d229d
commit
4d37268944
@ -6,7 +6,7 @@
|
||||
* [expediant "port" of linux 8087 emulator to 386BSD, with apologies -wfj]
|
||||
*
|
||||
* from: 386BSD 0.1
|
||||
* $Id: math_emulate.c,v 1.21 1997/02/22 09:32:30 peter Exp $
|
||||
* $Id: math_emulate.c,v 1.22 1997/05/09 04:02:58 peter Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -613,7 +613,7 @@ static int __regoffset[] = {
|
||||
tEAX, tECX, tEDX, tEBX, tESP, tEBP, tESI, tEDI
|
||||
};
|
||||
|
||||
#define REG(x) ((int *)(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)
|
||||
|
Loading…
Reference in New Issue
Block a user