mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
The _MC_HASFPXSTATE and _MC_IA32_HASFPXSTATE flags have the same bit
value on purpose, but the ia32 context handling code is logically more correct to use the _MC_IA32_HASFPXSTATE name for the flag. Tested by: dim, pgj Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
e9249a80f6
commit
87b94d9a92
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=251038
@ -112,7 +112,7 @@ ia32_get_fpcontext(struct thread *td, struct ia32_mcontext *mcp,
|
||||
len = max_len;
|
||||
bzero(xfpusave + max_len, len - max_len);
|
||||
}
|
||||
mcp->mc_flags |= _MC_HASFPXSTATE;
|
||||
mcp->mc_flags |= _MC_IA32_HASFPXSTATE;
|
||||
mcp->mc_xfpustate_len = len;
|
||||
bcopy(get_pcb_user_save_td(td) + 1, xfpusave, len);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user