Update year range in gprofng copyright notices
[binutils-gdb.git] / gprofng / src / dbe_types.h
blob9fa842ce85dbdcd3906dd077737fa459fe692ace
1 /* Copyright (C) 2021-2023 Free Software Foundation, Inc.
2 Contributed by Oracle.
4 This file is part of GNU Binutils.
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.
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.
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. */
21 #ifndef _DBE_TYPES_H
22 #define _DBE_TYPES_H
24 #include <stdint.h>
25 #include "gp-time.h"
27 typedef unsigned long long Size; /* object sizes in 64 bit apps */
28 typedef unsigned long long Vaddr; /* process address for 64 bit apps */
30 typedef unsigned long long ull_t;
31 typedef long long ll_t;
32 typedef unsigned long ul_t;
34 // Note: these values are stored in archive files; changing them
35 // may cause old archives to become incompatible.
36 enum Platform_t
38 Unknown = 0,
39 Sparc,
40 Sparcv9,
41 Intel,
42 Sparcv8plus,
43 Java,
44 Amd64,
45 Aarch64
48 enum WSize_t
50 Wnone,
51 W32,
52 W64
55 enum VMode
57 VMODE_MACHINE = 0,
58 VMODE_USER,
59 VMODE_EXPERT
62 #endif /* _DBE_TYPES_H */