1 /*
2  * Copyright © 2011 Université Bordeaux
3  * Copyright © 2016 Inria.  All rights reserved.
4  * See COPYING in top-level directory.
5  */
6 
7 #ifndef HWLOC_PORT_AIX_SYS_SYSTEMCFG_H
8 #define HWLOC_PORT_AIX_SYS_SYSTEMCFG_H
9 
10 struct {
11   int dcache_size;
12   int dcache_asc;
13   int dcache_line;
14   int icache_size;
15   int icache_asc;
16   int icache_line;
17   int L2_cache_size;
18   int L2_cache_asc;
19   int cache_attrib;
20 } _system_configuration;
21 
22 #define __power_pc() 1
23 #define __power_4() 1
24 #define __power_5() 1
25 #define __power_6() 1
26 #define __power_7() 1
27 
28 /* hide Linux' host disabling _SC_LARGE_PAGESIZE */
29 #undef HAVE_DECL__SC_LARGE_PAGESIZE
30 #define HAVE_DECL__SC_LARGE_PAGESIZE 1
31 #undef _SC_LARGE_PAGESIZE
32 #define _SC_LARGE_PAGESIZE 33
33 
34 #endif /* HWLOC_PORT_AIX_SYS_SYSTEMCFG_H */
35