]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/i386/cpu_threads.h
xnu-2050.18.24.tar.gz
[apple/xnu.git] / osfmk / i386 / cpu_threads.h
index dca8b4016b7d0de4ede118c16eeab5d7dfad649f..a576ef70d41bcbc487a784b9b4b78e7ec86390ac 100644 (file)
@@ -29,8 +29,8 @@
 #define _I386_CPU_THREADS_H_
 
 #include <i386/cpu_data.h>
-#include <i386/mp.h>
 #include <i386/cpu_topology.h>
+#include <i386/mp.h>
 
 /*
  * These are defined here rather than in cpu_topology.h so as to keep
@@ -75,4 +75,13 @@ extern void x86_set_pkg_numbers(x86_pkg_t *pkg, x86_lcpu_t *lcpu);
 
 extern x86_topology_parameters_t       topoParms;
 
+extern boolean_t       topo_dbg;
+#define TOPO_DBG(x...)                 \
+       do {                            \
+               if (topo_dbg)           \
+                       kprintf(x);     \
+       } while (0)                     \
+
+extern void validate_topology(void);
+
 #endif /* _I386_CPU_THREADS_H_ */