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/system.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'utils/hwstub/stmp/system.h') diff --git a/utils/hwstub/stmp/system.h b/utils/hwstub/stmp/system.h index c1babe7d87..e5aea12051 100644 --- a/utils/hwstub/stmp/system.h +++ b/utils/hwstub/stmp/system.h @@ -18,8 +18,8 @@ * KIND, either express or implied. * ****************************************************************************/ -#ifndef __HWEMUL_SYSTEM__ -#define __HWEMUL_SYSTEM__ +#ifndef __HWSTUB_SYSTEM__ +#define __HWSTUB_SYSTEM__ #define IRQ_ENABLED 0x00 #define IRQ_DISABLED 0x80 @@ -114,5 +114,5 @@ static inline int disable_interrupt_save(int mask) return cpsr; } -#endif /* __HWEMUL_SYSTEM__ */ +#endif /* __HWSTUB_SYSTEM__ */ -- cgit v1.2.3