[AML] Be rid of damned cpu type magic numbers
[vuplus_xbmc] / xbmc / utils / AMLUtils.h
index d90fd5a..b80aa09 100644 (file)
  *
  */
 
+enum AML_DEVICE_TYPE
+{
+  AML_DEVICE_TYPE_UNKNOWN  = -1,
+  AML_DEVICE_TYPE_M1,
+  AML_DEVICE_TYPE_M3,
+  AML_DEVICE_TYPE_M6,
+  AML_DEVICE_TYPE_M8
+};
+
 int aml_set_sysfs_str(const char *path, const char *val);
 int aml_get_sysfs_str(const char *path, char *valstr, const int size);
 int aml_set_sysfs_int(const char *path, const int val);
 int aml_get_sysfs_int(const char *path);
 
 bool aml_present();
-int  aml_get_cputype();
-void aml_cpufreq_limit(bool limit);
+void aml_permissions();
+bool aml_hw3d_present();
+bool aml_wired_present();
+enum AML_DEVICE_TYPE aml_get_cputype();
+void aml_cpufreq_min(bool limit);
+void aml_cpufreq_max(bool limit);
 void aml_set_audio_passthrough(bool passthrough);