aboutsummaryrefslogtreecommitdiff
path: root/sim/m68hc11/dv-m68hc11tim.c
diff options
context:
space:
mode:
authorStephane Carrez <stcarrez@nerim.fr>2000-11-26 21:41:31 +0000
committerStephane Carrez <stcarrez@nerim.fr>2000-11-26 21:41:31 +0000
commitb93775f5866b3f922041b64f73454c8788821abf (patch)
tree5a62ae2892e117af5ff085418ac14e95b5d79c0a /sim/m68hc11/dv-m68hc11tim.c
parentae3e85dd270c1dba87ac81cd431ebc6a44a28e44 (diff)
downloadgdb-b93775f5866b3f922041b64f73454c8788821abf.zip
gdb-b93775f5866b3f922041b64f73454c8788821abf.tar.gz
gdb-b93775f5866b3f922041b64f73454c8788821abf.tar.bz2
Preliminary support for 68HC12
Diffstat (limited to 'sim/m68hc11/dv-m68hc11tim.c')
-rw-r--r--sim/m68hc11/dv-m68hc11tim.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sim/m68hc11/dv-m68hc11tim.c b/sim/m68hc11/dv-m68hc11tim.c
index 355139f..144ae4b 100644
--- a/sim/m68hc11/dv-m68hc11tim.c
+++ b/sim/m68hc11/dv-m68hc11tim.c
@@ -111,7 +111,6 @@ attach_m68hc11tim_regs (struct hw *me,
me);
}
-
static void
m68hc11tim_finish (struct hw *me)
{
@@ -128,7 +127,7 @@ m68hc11tim_finish (struct hw *me)
#else
me->to_ioctl = m68hc11tim_ioctl;
#endif
-
+
/* Preset defaults. */
controller->clock_prescaler = 1;
controller->tcnt_adjust = 0;
@@ -688,7 +687,8 @@ m68hc11tim_io_write_buffer (struct hw *me,
const struct hw_descriptor dv_m68hc11tim_descriptor[] = {
- { "m68hc11tim", m68hc11tim_finish, },
+ { "m68hc11tim", m68hc11tim_finish },
+ { "m68hc12tim", m68hc11tim_finish },
{ NULL },
};