rts: Add api to pin a thread to a numa node but without fixing a capability
[ghc.git] / rts / RtsSymbols.h
1 /* -----------------------------------------------------------------------------
2 *
3 * (c) The GHC Team, 2000-2015
4 *
5 * RTS Symbols
6 *
7 * ---------------------------------------------------------------------------*/
8
9 #ifndef RTS_SYMBOLS_H
10 #define RTS_SYMBOLS_H
11
12 #include "ghcautoconf.h"
13 #include "LinkerInternals.h"
14
15 #ifdef LEADING_UNDERSCORE
16 #define MAYBE_LEADING_UNDERSCORE_STR(s) ("_" s)
17 #else
18 #define MAYBE_LEADING_UNDERSCORE_STR(s) (s)
19 #endif
20
21 typedef struct _RtsSymbolVal {
22 const SymbolName* lbl;
23 SymbolAddr* addr;
24 } RtsSymbolVal;
25
26 extern RtsSymbolVal rtsSyms[];
27
28 #endif /* RTS_SYMBOLS_H */