(svn r26197) -Add: wrappers around cpuid

This commit is contained in:
rubidium
2014-01-02 08:55:32 +00:00
parent 716250728c
commit 2ef6ad8cf9
2 changed files with 39 additions and 0 deletions

View File

@@ -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 */