MFi386: revision 1.550.

This commit is contained in:
Yoshihiro Takahashi 2002-11-17 02:57:06 +00:00
parent 0730e65baa
commit 9df5c871ce
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);
}
/*