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/format.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'utils/hwstub/stmp/format.h') diff --git a/utils/hwstub/stmp/format.h b/utils/hwstub/stmp/format.h index a514c882ba..2ad4229f1e 100644 --- a/utils/hwstub/stmp/format.h +++ b/utils/hwstub/stmp/format.h @@ -18,12 +18,12 @@ * KIND, either express or implied. * ****************************************************************************/ -#ifndef __HWEMUL_FORMAT__ -#define __HWEMUL_FORMAT__ +#ifndef __HWSTUB_FORMAT__ +#define __HWSTUB_FORMAT__ #include void vuprintf(int (*push)(void *userp, unsigned char data), void *userp, const char *fmt, va_list ap); -#endif /* __HWEMUL_FORMAT__ */ +#endif /* __HWSTUB_FORMAT__ */ -- cgit v1.2.3