/[qemu]/qemu/dyngen-exec.h
ViewVC logotype

Diff of /qemu/dyngen-exec.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by bellard, Thu Oct 30 01:21:44 2003 UTC revision 1.7 by bellard, Sun Nov 23 17:05:30 2003 UTC
# Line 17  Line 17 
17   * License along with this library; if not, write to the Free Software   * License along with this library; if not, write to the Free Software
18   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19   */   */
20    #if !defined(__DYNGEN_EXEC_H__)
21    #define __DYNGEN_EXEC_H__
22    
23  typedef unsigned char uint8_t;  typedef unsigned char uint8_t;
24  typedef unsigned short uint16_t;  typedef unsigned short uint16_t;
25  typedef unsigned int uint32_t;  typedef unsigned int uint32_t;
# Line 27  typedef signed short int16_t; Line 30  typedef signed short int16_t;
30  typedef signed int int32_t;  typedef signed int int32_t;
31  typedef signed long long int64_t;  typedef signed long long int64_t;
32    
33    #define INT8_MIN                (-128)
34    #define INT16_MIN               (-32767-1)
35    #define INT32_MIN               (-2147483647-1)
36    #define INT64_MIN               (-(int64_t)(9223372036854775807)-1)
37    #define INT8_MAX                (127)
38    #define INT16_MAX               (32767)
39    #define INT32_MAX               (2147483647)
40    #define INT64_MAX               ((int64_t)(9223372036854775807))
41    #define UINT8_MAX               (255)
42    #define UINT16_MAX              (65535)
43    #define UINT32_MAX              (4294967295U)
44    #define UINT64_MAX              ((uint64_t)(18446744073709551615))
45    
46  #define bswap32(x) \  #define bswap32(x) \
47  ({ \  ({ \
48          uint32_t __x = (x); \          uint32_t __x = (x); \
# Line 191  extern int __op_jmp0, __op_jmp1, __op_jm Line 207  extern int __op_jmp0, __op_jmp1, __op_jm
207  #ifdef __mc68000  #ifdef __mc68000
208  #define EXIT_TB() asm volatile ("rts")  #define EXIT_TB() asm volatile ("rts")
209  #endif  #endif
210    
211    #endif /* !defined(__DYNGEN_EXEC_H__) */

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26