/[qemu]/qemu/cpu-all.h
ViewVC logotype

Diff of /qemu/cpu-all.h

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

revision 1.12 by bellard, Mon Oct 27 21:22:22 2003 UTC revision 1.13 by bellard, Tue Oct 28 00:09:28 2003 UTC
# Line 212  static inline int ldl_raw(void *ptr) Line 212  static inline int ldl_raw(void *ptr)
212  static inline uint64_t ldq_raw(void *ptr)  static inline uint64_t ldq_raw(void *ptr)
213  {  {
214      uint32_t a,b;      uint32_t a,b;
215      a = ldl (ptr);      a = ldl_raw(ptr);
216      b = ldl (ptr+4);      b = ldl_raw(ptr+4);
217      return (((uint64_t)a<<32)|b);      return (((uint64_t)a<<32)|b);
218  }  }
219    
# Line 235  static inline void stl_raw(void *ptr, in Line 235  static inline void stl_raw(void *ptr, in
235    
236  static inline void stq_raw(void *ptr, uint64_t v)  static inline void stq_raw(void *ptr, uint64_t v)
237  {  {
238      stl (ptr, v);      stl_raw(ptr, v);
239      stl (ptr+4, v >> 32);      stl_raw(ptr+4, v >> 32);
240  }  }
241    
242  #else  #else

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

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