tlds
Transactional Operations for Linked Data Structures
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
offsets.h
Go to the documentation of this file.
1 /**
2  * Copyright (C) 2011
3  * University of Rochester Department of Computer Science
4  * and
5  * Lehigh University Department of Computer Science and Engineering
6  *
7  * License: Modified BSD
8  * Please see the file LICENSE.RSTM for licensing information
9  */
10 
11 #ifndef ITM_LIBITM_ARCH_X86_64_OFFSETS_H
12 #define ITM_LIBITM_ARCH_X86_64_OFFSETS_H
13 
14 // -----------------------------------------------------------------------------
15 // Defines some struct offsets that we use in _ITM_beginTransaction. This should
16 // be a configure or build-time generated header, but we don't really have the
17 // resources set up for that. Instead, we statically check these using the
18 // CheckOffsets.h header.
19 // -----------------------------------------------------------------------------
20 
21 #define TRANSACTION_INNER_ 16
22 #define TRANSACTION_FREE_SCOPES_ 24
23 #define SCOPE_ABORTED_ 64
24 #define NODE_NEXT_ 176
25 
26 #endif // ITM_LIBITM_ARCH_X86_64_OFFSETS_H