/[gxemul]/trunk/src/include/misc.h
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/src/include/misc.h

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

revision 23 by dpavlin, Mon Oct 8 16:19:37 2007 UTC revision 24 by dpavlin, Mon Oct 8 16:19:56 2007 UTC
# Line 2  Line 2 
2  #define MISC_H  #define MISC_H
3    
4  /*  /*
5   *  Copyright (C) 2003-2005  Anders Gavare.  All rights reserved.   *  Copyright (C) 2003-2006  Anders Gavare.  All rights reserved.
6   *   *
7   *  Redistribution and use in source and binary forms, with or without   *  Redistribution and use in source and binary forms, with or without
8   *  modification, are permitted provided that the following conditions are met:   *  modification, are permitted provided that the following conditions are met:
# Line 28  Line 28 
28   *  SUCH DAMAGE.   *  SUCH DAMAGE.
29   *   *
30   *   *
31   *  $Id: misc.h,v 1.236 2005/12/03 04:14:16 debug Exp $   *  $Id: misc.h,v 1.241 2006/06/16 18:31:26 debug Exp $
32   *   *
33   *  Misc. definitions for gxemul.   *  Misc. definitions for gxemul.
34   */   */
# Line 45  Line 45 
45    
46  #include "../../config.h"  #include "../../config.h"
47    
48  /*    
49   *  ENABLE_INSTRUCTION_DELAYS should be defined on the cc commandline using  #ifdef NO_C99_PRINTF_DEFINES
50   *  -D if you want it. (This is done by ./configure --delays)  /*
51   *   *  This is a SUPER-UGLY HACK which happens to work on some machines.
52   *  ALWAYS_SIGNEXTEND_32 is enabled by ./configure --always32   *  The correct solution is to upgrade your compiler to C99.
53   */   */
54  #define USE_TINY_CACHE  #ifdef NO_C99_64BIT_LONGLONG
55  /*  #define HALT_IF_PC_ZERO  */  #define PRIi16          "i"
56    #define PRIi32          "i"
57    #define PRIi64          "lli"
58    #define PRIx16          "x"
59    #define PRIx32          "x"
60    #define PRIx64          "llx"
61    #else
62    #define PRIi16          "i"
63    #define PRIi32          "i"
64    #define PRIi64          "li"
65    #define PRIx16          "x"
66    #define PRIx32          "x"
67    #define PRIx64          "lx"
68    #endif
69    #endif
70    
71    
72  #ifdef NO_MAP_ANON  #ifdef NO_MAP_ANON
# Line 110  struct memory; Line 124  struct memory;
124  /*  Debug stuff:  */  /*  Debug stuff:  */
125  #define DEBUG_BUFSIZE           1024  #define DEBUG_BUFSIZE           1024
126  #define DEBUG_INDENTATION       4  #define DEBUG_INDENTATION       4
 #ifndef DEFAULT_BINTRANS_SIZE_IN_MB  
 #define DEFAULT_BINTRANS_SIZE_IN_MB     16  
 #endif  
127    
128    
129  /*  dec_prom.c:  */  /*  dec_prom.c:  */

Legend:
Removed from v.23  
changed lines
  Added in v.24

  ViewVC Help
Powered by ViewVC 1.1.26