mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
Generate #define of PCB_SAVEFPU_SIZE for use in savectx().
This commit is contained in:
parent
05c7a37afb
commit
5b5220556d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=15231
2 changed files with 4 additions and 2 deletions
|
@ -34,7 +34,7 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)genassym.c 5.11 (Berkeley) 5/10/91
|
||||
* $Id: genassym.c,v 1.32 1996/03/12 15:37:44 davidg Exp $
|
||||
* $Id: genassym.c,v 1.33 1996/03/27 17:21:57 bde Exp $
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -157,6 +157,7 @@ main()
|
|||
printf("#define\tRU_MINFLT %p\n", &rup->ru_minflt);
|
||||
printf("#define\tPCB_FLAGS %p\n", &pcb->pcb_flags);
|
||||
printf("#define\tPCB_SAVEFPU %p\n", &pcb->pcb_savefpu);
|
||||
printf("#define\tPCB_SAVEFPU_SIZE %d\n", sizeof pcb->pcb_savefpu);
|
||||
printf("#define\tPCB_INL %p\n", &pcb->pcb_inl);
|
||||
printf("#define\tPCB_ONFAULT %p\n", &pcb->pcb_onfault);
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)genassym.c 5.11 (Berkeley) 5/10/91
|
||||
* $Id: genassym.c,v 1.32 1996/03/12 15:37:44 davidg Exp $
|
||||
* $Id: genassym.c,v 1.33 1996/03/27 17:21:57 bde Exp $
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -157,6 +157,7 @@ main()
|
|||
printf("#define\tRU_MINFLT %p\n", &rup->ru_minflt);
|
||||
printf("#define\tPCB_FLAGS %p\n", &pcb->pcb_flags);
|
||||
printf("#define\tPCB_SAVEFPU %p\n", &pcb->pcb_savefpu);
|
||||
printf("#define\tPCB_SAVEFPU_SIZE %d\n", sizeof pcb->pcb_savefpu);
|
||||
printf("#define\tPCB_INL %p\n", &pcb->pcb_inl);
|
||||
printf("#define\tPCB_ONFAULT %p\n", &pcb->pcb_onfault);
|
||||
|
||||
|
|
Loading…
Reference in a new issue