|
RTEMS 6.1-rc4
|
Loading...
Searching...
No Matches
15#ifndef libcpu_cpuModel_h
16#define libcpu_cpuModel_h
26extern int x86_capability;
27extern int x86_capability_x;
28extern int x86_capability_ebx;
29extern int x86_capability_cores;
30extern char x86_vendor_id[13];
32extern unsigned char Cx86_step;
35extern void printCpuInfo(
void);
38#define x86_has_tsc() \
39 (x86_capability & (1 << 4))
41static inline unsigned long long
45 unsigned long long result;
46 __asm__
volatile(
".byte 0x0F, 0x31" :
"=A" (result));