changeset 120 | 430dbec0c228 |
new file mode 100644 --- /dev/null +++ b/lsflib/include/lsf/cpuid.h @@ -0,0 +1,18 @@ +/** + * test/demos/lsflib/include/cpuid.h + * Copyright (C) 2008 Markus Broeker + */ + +#ifndef __CPUID_H__ +#define __CPUID_H__ + +#include <memory.h> + +typedef unsigned long ULONG; + +char *get_cpu_brand (int); +char *get_cpu_vendor (void); + +ULONG get_cpu_function (ULONG, ULONG *, ULONG *, ULONG *, ULONG *); + +#endif