39 #define ALWAYSINLINE inline |
39 #define ALWAYSINLINE inline |
40 #endif |
40 #endif |
41 |
41 |
42 #ifndef ATTRIBUTE_ALIGNED |
42 #ifndef ATTRIBUTE_ALIGNED |
43 #define ATTRIBUTE_ALIGNED(x) |
43 #define ATTRIBUTE_ALIGNED(x) |
|
44 #endif |
|
45 |
|
46 // These are #defines to selectively turn on/off the Print(Opto)Assembly |
|
47 // capabilities. Choices should be led by a tradeoff between |
|
48 // code size and improved supportability. |
|
49 // if PRINT_ASSEMBLY then PRINT_ABSTRACT_ASSEMBLY must be true as well |
|
50 // to have a fallback in case hsdis is not available. |
|
51 #if defined(PRODUCT) |
|
52 #define SUPPORT_ABSTRACT_ASSEMBLY |
|
53 #define SUPPORT_ASSEMBLY |
|
54 #undef SUPPORT_OPTO_ASSEMBLY // Can't activate. In PRODUCT, many dump methods are missing. |
|
55 #undef SUPPORT_DATA_STRUCTS // Of limited use. In PRODUCT, many print methods are empty. |
|
56 #else |
|
57 #define SUPPORT_ABSTRACT_ASSEMBLY |
|
58 #define SUPPORT_ASSEMBLY |
|
59 #define SUPPORT_OPTO_ASSEMBLY |
|
60 #define SUPPORT_DATA_STRUCTS |
|
61 #endif |
|
62 #if defined(SUPPORT_ASSEMBLY) && !defined(SUPPORT_ABSTRACT_ASSEMBLY) |
|
63 #define SUPPORT_ABSTRACT_ASSEMBLY |
44 #endif |
64 #endif |
45 |
65 |
46 // This file holds all globally used constants & types, class (forward) |
66 // This file holds all globally used constants & types, class (forward) |
47 // declarations and a few frequently used utility functions. |
67 // declarations and a few frequently used utility functions. |
48 |
68 |