MFi386: revision 1.550.
This commit is contained in:
parent
9546aa37a9
commit
788d21c22e
@ -2396,7 +2396,7 @@ set_fpregs(struct thread *td, struct fpreg *fpregs)
|
||||
/*
|
||||
* Get machine context.
|
||||
*/
|
||||
void
|
||||
int
|
||||
get_mcontext(struct thread *td, mcontext_t *mcp)
|
||||
{
|
||||
struct trapframe *tp;
|
||||
@ -2423,6 +2423,7 @@ get_mcontext(struct thread *td, mcontext_t *mcp)
|
||||
mcp->mc_ss = tp->tf_ss;
|
||||
mcp->mc_len = sizeof(*mcp);
|
||||
get_fpcontext(td, mcp);
|
||||
return (0);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -2396,7 +2396,7 @@ set_fpregs(struct thread *td, struct fpreg *fpregs)
|
||||
/*
|
||||
* Get machine context.
|
||||
*/
|
||||
void
|
||||
int
|
||||
get_mcontext(struct thread *td, mcontext_t *mcp)
|
||||
{
|
||||
struct trapframe *tp;
|
||||
@ -2423,6 +2423,7 @@ get_mcontext(struct thread *td, mcontext_t *mcp)
|
||||
mcp->mc_ss = tp->tf_ss;
|
||||
mcp->mc_len = sizeof(*mcp);
|
||||
get_fpcontext(td, mcp);
|
||||
return (0);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user