* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. *
***************************************************************************/
+
#ifndef ALGORITHM_H
#define ALGORITHM_H
-enum param_direction
-{
+enum param_direction {
PARAM_IN,
PARAM_OUT,
PARAM_IN_OUT
};
-struct mem_param
-{
+struct mem_param {
uint32_t address;
uint32_t size;
uint8_t *value;
enum param_direction direction;
};
-struct reg_param
-{
- char *reg_name;
+struct reg_param {
+ const char *reg_name;
uint32_t size;
uint8_t *value;
enum param_direction direction;