(root)/
binutils-2.41/
gprofng/
src/
dbe_types.h
       1  /* Copyright (C) 2021-2023 Free Software Foundation, Inc.
       2     Contributed by Oracle.
       3  
       4     This file is part of GNU Binutils.
       5  
       6     This program is free software; you can redistribute it and/or modify
       7     it under the terms of the GNU General Public License as published by
       8     the Free Software Foundation; either version 3, or (at your option)
       9     any later version.
      10  
      11     This program is distributed in the hope that it will be useful,
      12     but WITHOUT ANY WARRANTY; without even the implied warranty of
      13     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      14     GNU General Public License for more details.
      15  
      16     You should have received a copy of the GNU General Public License
      17     along with this program; if not, write to the Free Software
      18     Foundation, 51 Franklin Street - Fifth Floor, Boston,
      19     MA 02110-1301, USA.  */
      20  
      21  #ifndef _DBE_TYPES_H
      22  #define _DBE_TYPES_H
      23  
      24  #include <stdint.h>
      25  #include "gp-time.h"
      26  
      27  typedef unsigned long long Size;    /* object sizes in 64 bit apps */
      28  typedef unsigned long long Vaddr;   /* process address for 64 bit apps */
      29  
      30  typedef unsigned long long ull_t;
      31  typedef long long ll_t;
      32  typedef unsigned long ul_t;
      33  
      34  // Note: these values are stored in archive files; changing them
      35  // may cause old archives to become incompatible.
      36  enum Platform_t
      37  {
      38    Unknown = 0,
      39    Sparc,
      40    Sparcv9,
      41    Intel,
      42    Sparcv8plus,
      43    Java,
      44    Amd64,
      45    Aarch64
      46  };
      47  
      48  enum WSize_t
      49  {
      50    Wnone,
      51    W32,
      52    W64
      53  };
      54  
      55  enum VMode
      56  {
      57    VMODE_MACHINE = 0,
      58    VMODE_USER,
      59    VMODE_EXPERT
      60  };
      61  
      62  #endif /* _DBE_TYPES_H */