diff options
author | rubidium <rubidium@openttd.org> | 2014-01-02 08:55:32 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2014-01-02 08:55:32 +0000 |
commit | e76d294c1084bdb5c57465f0382b2171e3c3ba4f (patch) | |
tree | f8c0ed37fa9dc2b0aaff55f53d54efa8b2e28a90 /src/cpu.h | |
parent | 52c942b17723999bff3416ff67f33b84b06e0986 (diff) | |
download | openttd-e76d294c1084bdb5c57465f0382b2171e3c3ba4f.tar.xz |
(svn r26197) -Add: wrappers around cpuid
Diffstat (limited to 'src/cpu.h')
-rw-r--r-- | src/cpu.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 */ |