From ab4223e9cffbc21399c0468dd89a2e57122fbfee Mon Sep 17 00:00:00 2001 From: Arun Raghavan Date: Tue, 14 Sep 2010 15:21:49 +0530 Subject: cpu: Add CPU information to pa_core This retains CPU information (processor type and supported features) in pa_core, so that this information can be used by modules at init time to figure out what optimisations may be used. --- src/pulsecore/cpu-arm.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/pulsecore/cpu-arm.h') diff --git a/src/pulsecore/cpu-arm.h b/src/pulsecore/cpu-arm.h index a87cb63b..0e0c3e42 100644 --- a/src/pulsecore/cpu-arm.h +++ b/src/pulsecore/cpu-arm.h @@ -24,6 +24,7 @@ ***/ #include +#include typedef enum pa_cpu_arm_flag { PA_CPU_ARM_V6 = (1 << 0), @@ -34,7 +35,7 @@ typedef enum pa_cpu_arm_flag { PA_CPU_ARM_VFPV3 = (1 << 5) } pa_cpu_arm_flag_t; -void pa_cpu_init_arm (void); +pa_bool_t pa_cpu_init_arm (pa_cpu_arm_flag_t *flags); /* some optimized functions */ void pa_volume_func_init_arm(pa_cpu_arm_flag_t flags); -- cgit