1 /* 2 * Copyright © 2009-2017 Inria. All rights reserved. 3 * Copyright © 2009 Université Bordeaux 4 * See COPYING in top-level directory. 5 */ 6 7 #ifndef HWLOC_PORT_SOLARIS_SYS_PROCESSOR_H 8 #define HWLOC_PORT_SOLARIS_SYS_PROCESSOR_H 9 10 #include <sys/procset.h> 11 typedef int processorid_t; 12 #define PBIND_NONE -1 13 #define PBIND_QUERY -2 14 15 extern int processor_bind(idtype_t idtype, id_t id, processorid_t processorid, processorid_t *obind); 16 extern processorid_t getcpuid(void); 17 18 /* hide Linux' host disabling _SC_LARGE_PAGESIZE */ 19 #undef HAVE_DECL__SC_LARGE_PAGESIZE 20 #define HAVE_DECL__SC_LARGE_PAGESIZE 1 21 #undef _SC_LARGE_PAGESIZE 22 #define _SC_LARGE_PAGESIZE 33 23 24 #endif /* HWLOC_PORT_SOLARIS_SYS_PROCESSOR_H */ 25