Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Sep 1999 08:06:28 -0700 (PDT)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/i386/i386 genassym.c locore.s machdep.c src/sys/i386/include sigframe.h ucontext.h db_machdep.h frame.h setjmp.h signal.h src/sys/alpha/alpha machdep.c src/sys/alpha/include sigframe.h ucontext.h signal.h ...
Message-ID:  <199909291506.IAA58226@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
marcel      1999/09/29 08:06:28 PDT

  Modified files:
    sys/i386/i386        genassym.c locore.s machdep.c 
    sys/i386/include     db_machdep.h frame.h setjmp.h signal.h 
    sys/alpha/alpha      machdep.c 
    sys/alpha/include    signal.h 
    sys/pc98/i386        machdep.c 
  Added files:
    sys/i386/include     sigframe.h ucontext.h 
    sys/alpha/include    sigframe.h ucontext.h 
  Log:
  sigset_t change (part 3 of 5)
  -----------------------------
  
  By introducing a new sigframe so that the signal handler operates
  on the new siginfo_t and on ucontext_t instead of sigcontext, we
  now need two version of sendsig and sigreturn.
  
  A flag in struct proc determines whether the process expects an
  old sigframe or a new sigframe. The signal trampoline handles
  which sigreturn to call. It does this by testing for a magic
  cookie in the frame.
  
  The alpha uses osigreturn to implement longjmp. This means that
  osigreturn is not only used for compatibility with existing
  binaries. To handle the new sigset_t, setjmp saves it in
  sc_reserved (see NOTE).
  
  the struct sigframe has been moved from frame.h to sigframe.h
  to handle the complex header dependencies that was caused by
  the new sigframe.
  
  NOTE: For the i386, the size of jmp_buf has been increased to hold
        the new sigset_t. On the alpha this has been prevented by
        using sc_reserved in sigcontext.
  
  Revision  Changes    Path
  1.79      +13 -5     src/sys/i386/i386/genassym.c
  1.128     +30 -10    src/sys/i386/i386/locore.s
  1.362     +276 -71   src/sys/i386/i386/machdep.c
  1.15      +2 -1      src/sys/i386/include/db_machdep.h
  1.20      +1 -39     src/sys/i386/include/frame.h
  1.4       +2 -2      src/sys/i386/include/setjmp.h
  1.10      +30 -28    src/sys/i386/include/signal.h
  1.54      +198 -41   src/sys/alpha/alpha/machdep.c
  1.4       +5 -3      src/sys/alpha/include/signal.h
  1.133     +277 -71   src/sys/pc98/i386/machdep.c



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909291506.IAA58226>