Revision 5fafdf24 hw/mcf5206.c
b/hw/mcf5206.c | ||
---|---|---|
1 |
/*
|
|
1 |
/* |
|
2 | 2 |
* Motorola ColdFire MCF5206 SoC embedded peripheral emulation. |
3 | 3 |
* |
4 | 4 |
* Copyright (c) 2007 CodeSourcery. |
... | ... | |
58 | 58 |
prescale *= 16; |
59 | 59 |
|
60 | 60 |
if (mode == 3 || mode == 0) |
61 |
cpu_abort(cpu_single_env,
|
|
61 |
cpu_abort(cpu_single_env, |
|
62 | 62 |
"m5206_timer: mode %d not implemented\n", mode); |
63 | 63 |
if ((s->tmr & TMR_FRR) == 0) |
64 | 64 |
cpu_abort(cpu_single_env, |
... | ... | |
354 | 354 |
|
355 | 355 |
/* Internal peripherals use a variety of register widths. |
356 | 356 |
This lookup table allows a single routine to handle all of them. */ |
357 |
static const int m5206_mbar_width[] =
|
|
357 |
static const int m5206_mbar_width[] = |
|
358 | 358 |
{ |
359 | 359 |
/* 000-040 */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, |
360 | 360 |
/* 040-080 */ 1, 2, 2, 2, 4, 1, 2, 4, 1, 2, 4, 2, 2, 4, 2, 2, |
Also available in: Unified diff