From 8957e98fac373d034a1140ad32bf91a5c1f75047 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Hord=C3=A9?= Date: Mon, 2 Apr 2007 13:57:08 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20d=C3=A9claration=20de=20fonctions=20aya?= =?UTF-8?q?nt=20rapport=20avec=20la=20gestion=20du=20CPU?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/cpu.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 include/cpu.h diff --git a/include/cpu.h b/include/cpu.h new file mode 100644 index 0000000..7885d50 --- /dev/null +++ b/include/cpu.h @@ -0,0 +1,31 @@ +typedef struct cpuinfo +{ +u8 vendor[13]; +u8 names[32]; +u8 detectedname[48]; +u8 techs[48]; +u8 stepping; +u8 models; +u8 family; +u8 types; +u8 emodels; +u8 efamily; +u8 apicid; +u8 count; +u8 linesize; +u8 brandid; +bool mmx; +bool mmx2; +bool sse; +bool sse2; +bool sse3; +bool fpu; +bool now3d; +bool now3d2; +bool htt; +bool apic; +} cpuinfo __attribute__ ((packed)); + + +u8 getcpuinfos(cpuinfo *inf); +