/[gcl]/gcl/h/m68k-linux.h
ViewVC logotype

Diff of /gcl/h/m68k-linux.h

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

revision 1.6 by camm, Fri Jul 12 18:39:41 2002 UTC revision 1.7 by camm, Fri Sep 20 13:55:25 2002 UTC
# Line 24  Line 24 
24                          /* correct addr on misaligned access */ \                          /* correct addr on misaligned access */ \
25              ea = (ea+4095)&(~4095); \              ea = (ea+4095)&(~4095); \
26          } \          } \
27            else {\
28               FEerror("Unknown m68k cpu",0);\
29               ea=0;\
30            } \
31          (char *)ea; })          (char *)ea; })
32  #endif  #endif
33    
# Line 39  Line 43 
43  #define SGC  #define SGC
44    
45  #include <asm/cachectl.h>  #include <asm/cachectl.h>
46    int cacheflush(void *,int,int,int);
47  #define CLEAR_CACHE do {void *v=memory->cfd.cfd_start,*ve=v+memory->cfd.cfd_size; \  #define CLEAR_CACHE do {void *v=memory->cfd.cfd_start,*ve=v+memory->cfd.cfd_size; \
48                          cacheflush(v,FLUSH_SCOPE_LINE,FLUSH_CACHE_BOTH,ve-v);\                          cacheflush(v,FLUSH_SCOPE_LINE,FLUSH_CACHE_BOTH,ve-v);\
49                      } while(0)                      } while(0)

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