From c5357940ab0108b4102442d07825c44d5be0d22f Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Thu, 13 Jun 2013 02:02:53 +0200 Subject: hwstub: major improvement in the stub and the tools Fix the stub in many way to correctly detect the STMP family and act upon that. Drop some unused commands and bump version. Rewrite the tool to allows scripting in lua and load the register description from an XML file using the regtools. Introduce a new tool to load and run code using the hwstub (either binary format or Rockbox additive scramble format). Also switch to an optimise version of the memcpy/move/set functions to correctly handle alignement issue (like writing a full word/half-word when possible for registers which is crucial) Change-Id: Id1d5cfe0b1b47e8b43900d32c5cd6eafae6414f6 --- utils/hwstub/stmp/stddef.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'utils/hwstub/stmp/stddef.h') diff --git a/utils/hwstub/stmp/stddef.h b/utils/hwstub/stmp/stddef.h index 9d59d2913c..9bfd767750 100644 --- a/utils/hwstub/stmp/stddef.h +++ b/utils/hwstub/stmp/stddef.h @@ -18,8 +18,8 @@ * KIND, either express or implied. * ****************************************************************************/ -#ifndef __HWEMUL_STDDEF__ -#define __HWEMUL_STDDEF__ +#ifndef __HWSTUB_STDDEF__ +#define __HWSTUB_STDDEF__ #include "stdint.h" @@ -29,4 +29,4 @@ typedef int32_t ssize_t; #define MIN(a, b) ((a) < (b) ? (a) : (b)) #define MAX(a, b) ((a) > (b) ? (a) : (b)) -#endif /* __HWEMUL_STDDEF__ */ +#endif /* __HWSTUB_STDDEF__ */ -- cgit v1.2.3