MFi386: revision 1.550.

This commit is contained in:
nyan 2002-11-17 02:57:06 +00:00
parent 9546aa37a9
commit 788d21c22e
2 changed files with 4 additions and 2 deletions

View File

@ -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);
}
/*

View File

@ -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);
}
/*