/[qemu]/qemu/target-ppc/cpu.h
ViewVC logotype

Diff of /qemu/target-ppc/cpu.h

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

revision 1.13 by bellard, Sat Oct 9 18:08:01 2004 UTC revision 1.14 by bellard, Tue Feb 8 21:24:36 2005 UTC
# Line 26  Line 26 
26    
27  //#define USE_OPEN_FIRMWARE  //#define USE_OPEN_FIRMWARE
28    
 /***                          Sign extend constants                        ***/  
 /* 8 to 32 bits */  
 static inline int32_t s_ext8 (uint8_t value)  
 {  
     int8_t *tmp = &value;  
   
     return *tmp;  
 }  
   
 /* 16 to 32 bits */  
 static inline int32_t s_ext16 (uint16_t value)  
 {  
     int16_t *tmp = &value;  
   
     return *tmp;  
 }  
   
29  #include "config.h"  #include "config.h"
30  #include <setjmp.h>  #include <setjmp.h>
31    

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

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