tests: add cpu test

It tests only x86 architecture right now.
This commit is contained in:
Deng Zhengrong 2012-07-17 14:45:52 +08:00 committed by Arun Raghavan
parent 6e33eb0073
commit c8cd89a7cb
7 changed files with 306 additions and 230 deletions

View file

@ -40,6 +40,7 @@ typedef enum pa_cpu_x86_flag {
PA_CPU_X86_CMOV = (1 << 10)
} pa_cpu_x86_flag_t;
void pa_cpu_get_x86_flags(pa_cpu_x86_flag_t *flags);
pa_bool_t pa_cpu_init_x86 (pa_cpu_x86_flag_t *flags);
#if defined (__i386__)