(root)/
glibc-2.38/
sysdeps/
loongarch/
bits/
setjmp.h
       1  /* Define the machine-dependent type `jmp_buf'.
       2     Copyright (C) 2022-2023 Free Software Foundation, Inc.
       3     This file is part of the GNU C Library.
       4  
       5     The GNU C Library is free software; you can redistribute it and/or
       6     modify it under the terms of the GNU Lesser General Public
       7     License as published by the Free Software Foundation; either
       8     version 2.1 of the License, or (at your option) any later version.
       9  
      10     The GNU C Library is distributed in the hope that it will be useful,
      11     but WITHOUT ANY WARRANTY; without even the implied warranty of
      12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
      13     Lesser General Public License for more details.
      14  
      15     You should have received a copy of the GNU Lesser General Public
      16     License along with the GNU C Library.  If not, see
      17     <https://www.gnu.org/licenses/>.  */
      18  
      19  #ifndef _LOONGARCH_BITS_SETJMP_H
      20  #define _LOONGARCH_BITS_SETJMP_H
      21  
      22  typedef struct __jmp_buf_internal_tag
      23  {
      24    /* Program counter.  */
      25    long int __pc;
      26    /* Stack pointer.  */
      27    long int __sp;
      28    /* Reserved */
      29    long int __x;
      30    /* Frame pointer.  */
      31    long int __fp;
      32    /* Callee-saved registers.  */
      33    long int __regs[9];
      34  
      35  #ifndef __loongarch_soft_float
      36    /* Callee-saved floating point registers.  */
      37    double __fpregs[8];
      38  #endif
      39  
      40  } __jmp_buf[1];
      41  
      42  #endif /* _LOONGARCH_BITS_SETJMP_H */