Print this page


Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/proc.h
          +++ new/usr/src/uts/common/sys/proc.h
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  
  22   22  /*
  23   23   * Copyright (c) 1988, 2010, Oracle and/or its affiliates. All rights reserved.
  24      - * Copyright (c) 2015 Joyent, Inc.  All rights reserved.
       24 + * Copyright (c) 2014 Joyent, Inc.  All rights reserved.
  25   25   */
  26   26  
  27   27  /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
  28   28  /*        All Rights Reserved   */
  29   29  
  30   30  #ifndef _SYS_PROC_H
  31   31  #define _SYS_PROC_H
  32   32  
  33   33  #include <sys/time.h>
  34   34  #include <sys/thread.h>
↓ open down ↓ 680 lines elided ↑ open up ↑
 715  715      void (*)(), void (*)(), void (*)());
 716  716  extern  void    savepctx(proc_t *);
 717  717  extern  void    restorepctx(proc_t *);
 718  718  extern  void    forkpctx(proc_t *, proc_t *);
 719  719  extern  void    exitpctx(proc_t *);
 720  720  extern  void    freepctx(proc_t *, int);
 721  721  extern  kthread_t *thread_unpin(void);
 722  722  extern  void    thread_init(void);
 723  723  extern  void    thread_load(kthread_t *, void (*)(), caddr_t, size_t);
 724  724  
 725      -extern  void    thread_splitstack(void (*)(void *), void *, size_t);
 726      -extern  void    thread_splitstack_run(caddr_t, void (*)(void *), void *);
 727      -extern  void    thread_splitstack_cleanup(void);
 728      -
 729  725  extern  void    tsd_create(uint_t *, void (*)(void *));
 730  726  extern  void    tsd_destroy(uint_t *);
 731  727  extern  void    *tsd_getcreate(uint_t *, void (*)(void *), void *(*)(void));
 732  728  extern  void    *tsd_get(uint_t);
 733  729  extern  int     tsd_set(uint_t, void *);
 734  730  extern  void    tsd_exit(void);
 735  731  extern  void    *tsd_agent_get(kthread_t *, uint_t);
 736  732  extern  int     tsd_agent_set(kthread_t *, uint_t, void *);
 737  733  
 738  734  /* lwp function prototypes */
↓ open down ↓ 92 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX