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
    
      
        | Split | 
	Close | 
      
      | Expand all | 
      | Collapse all | 
    
    
          --- old/usr/src/test/os-tests/tests/Makefile
          +++ new/usr/src/test/os-tests/tests/Makefile
   1    1  #
   2    2  # This file and its contents are supplied under the terms of the
   3    3  # Common Development and Distribution License ("CDDL"), version 1.0.
   4    4  # You may only use this file in accordance with the terms of version
   5    5  # 1.0 of the CDDL.
   6    6  #
   7    7  # A full copy of the text of the CDDL should have accompanied this
   8    8  # source.  A copy of the CDDL is also available via the Internet at
   9    9  # http://www.illumos.org/license/CDDL.
  
    | 
      ↓ open down ↓ | 
    9 lines elided | 
    
      ↑ open up ↑ | 
  
  10   10  #
  11   11  
  12   12  #
  13   13  # Copyright (c) 2012, 2016 by Delphix. All rights reserved.
  14   14  # Copyright 2020 Joyent, Inc.
  15   15  # Copyright 2021 Tintri by DDN, Inc. All rights reserved.
  16   16  # Copyright 2021 OmniOS Community Edition (OmniOSce) Association.
  17   17  # Copyright 2023 Oxide Computer Company
  18   18  #
  19   19  
  20      -SUBDIRS_i386 = i386 imc zen_umc
       20 +SUBDIRS_i386 = i386 imc zen_umc xsave
  21   21  
  22   22  SUBDIRS =       \
  23   23                  cores \
  24   24                  ddi_ufm \
  25   25                  definit \
  26   26                  file-locking \
  27   27                  ksensor \
  28   28                  libtopo \
  29   29                  pf_key \
  30   30                  poll \
  31   31                  portfs \
  32   32                  regression \
  33   33                  sdevfs \
  34   34                  secflags \
  35   35                  signalfd \
  36   36                  sigqueue \
  37   37                  sockfs \
  38   38                  spoof-ras \
  39   39                  stackalign \
  40   40                  stress \
  41   41                  syscall \
  42   42                  timer \
  
    | 
      ↓ open down ↓ | 
    12 lines elided | 
    
      ↑ open up ↑ | 
  
  43   43                  tmpfs \
  44   44                  uccid \
  45   45                  $(SUBDIRS_$(MACH))
  46   46  
  47   47  PROGS = \
  48   48          clock_gettime \
  49   49          eventfd \
  50   50          odirectory \
  51   51          OS-6097 \
  52   52          ucontext \
       53 +        getcontext_extd \
  53   54          writev
  54   55  
  55   56  CPPFLAGS += -D_REENTRANT
  56   57  PROGS32 = $(PROGS:%=%.32)
  57   58  PROGS64 = $(PROGS:%=%.64)
  58   59  
  59   60  ROOTOPTDIR = $(ROOT)/opt/os-tests/tests
  60   61  ROOTOPTPROGS = $(PROGS32:%=$(ROOTOPTDIR)/%) \
  61   62          $(PROGS64:%=$(ROOTOPTDIR)/%) \
  62   63          $(SCRIPTS:%=$(ROOTOPTDIR)/%)
  63   64  
  64   65  odirectory.32 :=        LDLIBS += -lsocket
  65   66  odirectory.64 :=        LDLIBS64 += -lsocket
  66   67  
  67   68  OS-6097.32 :=   LDLIBS += -ldlpi
  68   69  OS-6097.64 :=   LDLIBS64 += -ldlpi
  69   70  
  70   71  clock_gettime.32 :=     LDLIBS += -lproc
  71   72  clock_gettime.32 :=     CSTD = $(CSTD_GNU99)
  72   73  clock_gettime.64 :=     LDLIBS64 += -lproc
  73   74  clock_gettime.64 :=     CSTD = $(CSTD_GNU99)
  74   75  
  75   76  ucontext.32 :=          SMOFF += unreachable
  76   77  ucontext.64 :=          SMOFF += unreachable
  77   78  
  78   79  writev.32 :=            CPPFLAGS += -D_FILE_OFFSET_BITS=64
  79   80  writev.32 :=            CSTD = $(CSTD_GNU99)
  80   81  writev.64 :=            CSTD = $(CSTD_GNU99)
  81   82  
  82   83  include $(SRC)/cmd/Makefile.cmd
  83   84  
  84   85  all     :=      TARGET = all
  85   86  install :=      TARGET = install
  86   87  clean   :=      TARGET = clean
  87   88  clobber :=      TARGET = clobber
  88   89  
  89   90  .KEEP_STATE:
  90   91  
  91   92  install: $(SUBDIRS) $(ROOTOPTPROGS)
  92   93  
  93   94  all: $(SUBDIRS) $(PROGS32) $(PROGS64)
  94   95  
  95   96  clean: $(SUBDIRS)
  96   97  
  97   98  $(ROOTOPTPROGS): $(PROGS32) $(PROGS64) $(ROOTOPTDIR)
  98   99  
  99  100  $(ROOTOPTDIR):
 100  101          $(INS.dir)
 101  102  
 102  103  $(ROOTOPTDIR)/%: %
 103  104          $(INS.file)
 104  105  
 105  106  $(ROOTOPTDIR)/%: %.ksh
 106  107          $(INS.rename)
 107  108  
 108  109  %.64: %.c
 109  110          $(LINK64.c) -o $@ $< $(LDLIBS64)
 110  111          $(POST_PROCESS)
 111  112  
 112  113  %.32: %.c
 113  114          $(LINK.c) -o $@ $< $(LDLIBS)
 114  115          $(POST_PROCESS)
 115  116  
 116  117  clobber: $(SUBDIRS)
 117  118          $(RM) $(PROGS32) $(PROGS64)
 118  119  
 119  120  $(SUBDIRS): FRC
 120  121          @cd $@; pwd; $(MAKE) $(TARGET)
 121  122  
 122  123  FRC:
  
    | 
      ↓ open down ↓ | 
    60 lines elided | 
    
      ↑ open up ↑ | 
  
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX