Print this page
15254 %ymm registers not restored after signal handler
15367 x86 getfpregs() summons corrupting %xmm ghosts
15333 want x86 /proc xregs support (libc_db, libproc, mdb, etc.)
15336 want libc functions for extended ucontext_t
15334 want ps_lwphandle-specific reg routines
15328 FPU_CW_INIT mistreats reserved bit
15335 i86pc fpu_subr.c isn't really platform-specific
15332 setcontext(2) isn't actually noreturn
15331 need <sys/stdalign.h>
Change-Id: I7060aa86042dfb989f77fc3323c065ea2eafa9ad
Conflicts:
    usr/src/uts/common/fs/proc/prcontrol.c
    usr/src/uts/intel/os/archdep.c
    usr/src/uts/intel/sys/ucontext.h
    usr/src/uts/intel/syscall/getcontext.c


 664 {"getrctl",     6, DEC, NOV, HID, STG, HEX, HEX, HID, RGF},     /* 0 */
 665 {"setrctl",     6, DEC, NOV, HID, STG, HEX, HEX, HID, RSF},     /* 1 */
 666 {"rctlsys_lst", 6, DEC, NOV, HID, HID, HEX, HID, HEX, HID},     /* 2 */
 667 {"rctlsys_ctl", 6, DEC, NOV, HID, STG, HEX, HID, HID, RCF},     /* 3 */
 668 {"setprojrctl", 6, DEC, NOV, HID, STG, HID, HEX, HEX, SPF},     /* 4 */
 669 };
 670 #define NRCTLCODE       (sizeof (rctltable) / sizeof (struct systable))
 671 
 672 const   struct systable sgptable[] = {
 673 {"sigpendsys",  2, DEC, NOV, DEC, HEX},                         /* err */
 674 {"sigpending",  2, DEC, NOV, HID, HEX},                         /* 1 */
 675 {"sigfillset",  2, DEC, NOV, HID, HEX},                         /* 2 */
 676 };
 677 #define NSGPCODE        (sizeof (sgptable) / sizeof (struct systable))
 678 
 679 const   struct systable ctxtable[] = {
 680 {"getcontext",  2, DEC, NOV, HID, HEX},                         /* 0 */
 681 {"setcontext",  2, DEC, NOV, HID, HEX},                         /* 1 */
 682 {"getustack",   2, DEC, NOV, HID, HEX},                         /* 2 */
 683 {"setustack",   2, DEC, NOV, HID, HEX},                         /* 3 */

 684 };
 685 #define NCTXCODE        (sizeof (ctxtable) / sizeof (struct systable))
 686 
 687 const   struct systable hrttable[] = {
 688 {"hrtcntl",     5, DEC, NOV, HID, DEC, DEC, HEX, HEX},          /* 0 */
 689 {"hrtalarm",    3, DEC, NOV, HID, HEX, DEC},                    /* 1 */
 690 {"hrtsleep",    2, DEC, NOV, HID, HEX},                         /* 2 */
 691 {"hrtcancel",   3, DEC, NOV, HID, HEX, DEC},                    /* 3 */
 692 };
 693 #define NHRTCODE        (sizeof (hrttable) / sizeof (struct systable))
 694 
 695 const   struct systable cortable[] = {
 696 {"corectl",     4, DEC, NOV, COR, HEX, HEX, HEX},               /* 0 */
 697 {"corectl",     2, DEC, NOV, COR, CCO},                         /* 1 */
 698 {"corectl",     1, HHX, NOV, COR},                              /* 2 */
 699 {"corectl",     3, DEC, NOV, COR, STG, DEC},                    /* 3 */
 700 {"corectl",     3, DEC, NOV, COR, RST, DEC},                    /* 4 */
 701 {"corectl",     4, DEC, NOV, COR, STG, DEC, DEC},               /* 5 */
 702 {"corectl",     4, DEC, NOV, COR, RST, DEC, DEC},               /* 6 */
 703 {"corectl",     2, DEC, NOV, COR, CCC},                         /* 7 */




 664 {"getrctl",     6, DEC, NOV, HID, STG, HEX, HEX, HID, RGF},     /* 0 */
 665 {"setrctl",     6, DEC, NOV, HID, STG, HEX, HEX, HID, RSF},     /* 1 */
 666 {"rctlsys_lst", 6, DEC, NOV, HID, HID, HEX, HID, HEX, HID},     /* 2 */
 667 {"rctlsys_ctl", 6, DEC, NOV, HID, STG, HEX, HID, HID, RCF},     /* 3 */
 668 {"setprojrctl", 6, DEC, NOV, HID, STG, HID, HEX, HEX, SPF},     /* 4 */
 669 };
 670 #define NRCTLCODE       (sizeof (rctltable) / sizeof (struct systable))
 671 
 672 const   struct systable sgptable[] = {
 673 {"sigpendsys",  2, DEC, NOV, DEC, HEX},                         /* err */
 674 {"sigpending",  2, DEC, NOV, HID, HEX},                         /* 1 */
 675 {"sigfillset",  2, DEC, NOV, HID, HEX},                         /* 2 */
 676 };
 677 #define NSGPCODE        (sizeof (sgptable) / sizeof (struct systable))
 678 
 679 const   struct systable ctxtable[] = {
 680 {"getcontext",  2, DEC, NOV, HID, HEX},                         /* 0 */
 681 {"setcontext",  2, DEC, NOV, HID, HEX},                         /* 1 */
 682 {"getustack",   2, DEC, NOV, HID, HEX},                         /* 2 */
 683 {"setustack",   2, DEC, NOV, HID, HEX},                         /* 3 */
 684 {"getcontext_extd",     2, DEC, NOV, HID, HEX},                         /* 4 */
 685 };
 686 #define NCTXCODE        (sizeof (ctxtable) / sizeof (struct systable))
 687 
 688 const   struct systable hrttable[] = {
 689 {"hrtcntl",     5, DEC, NOV, HID, DEC, DEC, HEX, HEX},          /* 0 */
 690 {"hrtalarm",    3, DEC, NOV, HID, HEX, DEC},                    /* 1 */
 691 {"hrtsleep",    2, DEC, NOV, HID, HEX},                         /* 2 */
 692 {"hrtcancel",   3, DEC, NOV, HID, HEX, DEC},                    /* 3 */
 693 };
 694 #define NHRTCODE        (sizeof (hrttable) / sizeof (struct systable))
 695 
 696 const   struct systable cortable[] = {
 697 {"corectl",     4, DEC, NOV, COR, HEX, HEX, HEX},               /* 0 */
 698 {"corectl",     2, DEC, NOV, COR, CCO},                         /* 1 */
 699 {"corectl",     1, HHX, NOV, COR},                              /* 2 */
 700 {"corectl",     3, DEC, NOV, COR, STG, DEC},                    /* 3 */
 701 {"corectl",     3, DEC, NOV, COR, RST, DEC},                    /* 4 */
 702 {"corectl",     4, DEC, NOV, COR, STG, DEC, DEC},               /* 5 */
 703 {"corectl",     4, DEC, NOV, COR, RST, DEC, DEC},               /* 6 */
 704 {"corectl",     2, DEC, NOV, COR, CCC},                         /* 7 */