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> |
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 |
{ |
{ |
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 |
|
|