From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:51995) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rmal4-0000N9-G2 for qemu-devel@nongnu.org; Sun, 15 Jan 2012 19:49:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rmal3-0000gt-7n for qemu-devel@nongnu.org; Sun, 15 Jan 2012 19:49:10 -0500 Received: from cantor2.suse.de ([195.135.220.15]:58243 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rmal2-0000gi-PE for qemu-devel@nongnu.org; Sun, 15 Jan 2012 19:49:09 -0500 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Mon, 16 Jan 2012 01:46:54 +0100 Message-Id: <1326674823-13069-6-git-send-email-afaerber@suse.de> In-Reply-To: <1326674823-13069-1-git-send-email-afaerber@suse.de> References: <1326674823-13069-1-git-send-email-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 05/14] target-mips: Move definition of uint_fast{8, 16}_t to osdep.h List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Anthony Liguori , Jan Kiszka , Blue Swirl , Stefan Weil , =?UTF-8?q?Andreas=20F=C3=A4rber?= , =?UTF-8?q?Aur=C3=A9lien=20Jarno?= osdep.h is included via qemu-common.h. Prepares for use of [u]int_fast*_t types in softfloat code. Signed-off-by: Andreas F=C3=A4rber Cc: Ben Taylor Cc: Aur=C3=A9lien Jarno --- osdep.h | 6 ++++++ target-mips/cpu.h | 7 ------- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/osdep.h b/osdep.h index 432b91e..8f45a96 100644 --- a/osdep.h +++ b/osdep.h @@ -10,6 +10,12 @@ =20 #include =20 +#if defined(CONFIG_SOLARIS) && CONFIG_SOLARIS_VERSION < 10 +/* uint_fast8_t and uint_fast16_t not in */ +typedef unsigned char uint_fast8_t; +typedef unsigned int uint_fast16_t; +#endif + #ifndef glue #define xglue(x, y) x ## y #define glue(x, y) xglue(x, y) diff --git a/target-mips/cpu.h b/target-mips/cpu.h index 71cb4e8..23564a7 100644 --- a/target-mips/cpu.h +++ b/target-mips/cpu.h @@ -15,13 +15,6 @@ #include "cpu-defs.h" #include "softfloat.h" =20 -// uint_fast8_t and uint_fast16_t not in -// XXX: move that elsewhere -#if defined(CONFIG_SOLARIS) && CONFIG_SOLARIS_VERSION < 10 -typedef unsigned char uint_fast8_t; -typedef unsigned int uint_fast16_t; -#endif - struct CPUMIPSState; =20 typedef struct r4k_tlb_t r4k_tlb_t; --=20 1.7.7