summaryrefslogtreecommitdiff
path: root/src/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu.h')
-rw-r--r--src/cpu.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cpu.h b/src/cpu.h
index 528c87076..8ea95f5bb 100644
--- a/src/cpu.h
+++ b/src/cpu.h
@@ -18,4 +18,11 @@
*/
uint64 ottd_rdtsc();
+/**
+ * Get the CPUID information from the CPU.
+ * @param info The retrieved info. All zeros on architectures without CPUID.
+ * @param type The information this instruction should retrieve.
+ */
+void ottd_cpuid(int info[4], int type);
+
#endif /* CPU_H */