#pragma once
/*
* Copyright (C) 2011-2013 Team XBMC
- * http://www.xbmc.org
+ * http://xbmc.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
*/
+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);