diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2012-11-14 12:51:51 +0100 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2012-11-14 12:51:51 +0100 |
commit | f44d95630c1629627b99a2ccf06b434d23027bb3 (patch) | |
tree | b93bef2c03028e0af42e840a6e5944eead2c082b /utils/imxtools/hwemul/dev/stdint.h | |
parent | ec2153f2dd265129c69c690f9c6c19b61ba9bf18 (diff) | |
download | rockbox-f44d95630c1629627b99a2ccf06b434d23027bb3.tar.gz rockbox-f44d95630c1629627b99a2ccf06b434d23027bb3.zip |
imxtools: introduce hwemul
The hwemul tool is a small binary blob running on the device
that can received commands over USB. It is mainly intended to be
loaded using the recory mode and allows to read/write registers,
memory, use the OTP device, ... The tool is split into three
parts: dev/ contains the actual blob (which handles both imx233
and stmp3700), lib/ contains the communication library and can
also use the register description produced by the regtools/
to ease register by name, tools/ contains an interactive tool
to send commands to the device when running the blob.
Change-Id: Ie8cb32e987f825d8ed750d48071e43415b4dacb3
Diffstat (limited to 'utils/imxtools/hwemul/dev/stdint.h')
-rw-r--r-- | utils/imxtools/hwemul/dev/stdint.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/utils/imxtools/hwemul/dev/stdint.h b/utils/imxtools/hwemul/dev/stdint.h new file mode 100644 index 0000000000..4fe3702c86 --- /dev/null +++ b/utils/imxtools/hwemul/dev/stdint.h | |||
@@ -0,0 +1,38 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * Copyright (C) 2005 by Dave Chapman | ||
11 | * | ||
12 | * This program is free software; you can redistribute it and/or | ||
13 | * modify it under the terms of the GNU General Public License | ||
14 | * as published by the Free Software Foundation; either version 2 | ||
15 | * of the License, or (at your option) any later version. | ||
16 | * | ||
17 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
18 | * KIND, either express or implied. | ||
19 | * | ||
20 | ****************************************************************************/ | ||
21 | |||
22 | #ifndef __STDINT_H__ | ||
23 | #define __STDINT_H__ | ||
24 | |||
25 | typedef signed char int8_t; | ||
26 | typedef unsigned char uint8_t; | ||
27 | typedef short int16_t; | ||
28 | typedef unsigned short uint16_t; | ||
29 | typedef long int32_t; | ||
30 | typedef unsigned long uint32_t; | ||
31 | typedef char bool; | ||
32 | |||
33 | #define true 1 | ||
34 | #define false 0 | ||
35 | |||
36 | #define NULL (void *)0 | ||
37 | |||
38 | #endif /* __STDINT_H__ */ | ||