/[gxemul]/trunk/src/machines/machine_arc.c
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/machines/machine_arc.c

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

revision 27 by dpavlin, Mon Oct 8 16:20:10 2007 UTC revision 28 by dpavlin, Mon Oct 8 16:20:26 2007 UTC
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *     *  
27   *   *
28   *  $Id: machine_arc.c,v 1.4 2006/06/24 10:19:19 debug Exp $   *  $Id: machine_arc.c,v 1.5 2006/06/30 20:22:54 debug Exp $
29   */   */
30    
31  #include <stdio.h>  #include <stdio.h>
# Line 42  Line 42 
42  #include "memory.h"  #include "memory.h"
43  #include "misc.h"  #include "misc.h"
44    
45    #define MACHINE_NAME_MAXBUF     100
46    
47    
48  MACHINE_SETUP(arc)  MACHINE_SETUP(arc)
49  {  {
# Line 59  MACHINE_SETUP(arc) Line 61  MACHINE_SETUP(arc)
61          }          }
62    
63          cpu->byte_order = EMUL_LITTLE_ENDIAN;          cpu->byte_order = EMUL_LITTLE_ENDIAN;
64          snprintf(machine->machine_name,          snprintf(machine->machine_name, MACHINE_NAME_MAXBUF, "ARC");
             MACHINE_NAME_MAXBUF, "ARC");  
65    
66          switch (machine->machine_subtype) {          switch (machine->machine_subtype) {
67    

Legend:
Removed from v.27  
changed lines
  Added in v.28

  ViewVC Help
Powered by ViewVC 1.1.26