From f0ce242fcd9bc07720283ae79bedc6edad75e36a Mon Sep 17 00:00:00 2001 From: Joyce Janczyn Date: Thu, 18 Jun 1998 18:43:11 +0000 Subject: [PATCH] Thu June 18 14:37:14 1998 Joyce Janczyn * interp.c (sim_open): Fix typo in address of EXTMD register (0x34000280, not 0x3400280). --- sim/mn10300/ChangeLog | 17 +++++++++++++++-- sim/mn10300/interp.c | 5 ++++- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog index 8914cfa063d..4a63f19b94a 100644 --- a/sim/mn10300/ChangeLog +++ b/sim/mn10300/ChangeLog @@ -1,11 +1,24 @@ +start-sanitize-am30 +Thu June 18 14:37:14 1998 Joyce Janczyn + * interp.c (sim_open): Fix typo in address of EXTMD register + (0x34000280, not 0x3400280). + +end-sanitize-am30 +Wed Jun 17 18:00:18 1998 Jeffrey A Law (law@cygnus.com) + + * simops.c (syscall): Handle change in opcode # for syscall. + * mn10300.igen (syscall): Likewise. + start-sanitize-am30 Tue June 16 09:36:21 1998 Joyce Janczyn * dv-mn103int.c (mn103int_finish): Regular interrupts (not NMI or reset) are not enabled on reset. Sun June 14 17:04:00 1998 Joyce Janczyn - * dv-mn103iop.c (write_*_reg): Check for attempt to write r/o register bits. - * dv-mn103ser.c: Fill in methods for reading and writing to serial device registers. + * dv-mn103iop.c (write_*_reg): Check for attempt to write r/o + register bits. + * dv-mn103ser.c: Fill in methods for reading and writing to serial + device registers. * interp.c (sim_open): Make the serial device a polling device. Fri June 12 16:24:00 1998 Joyce Janczyn diff --git a/sim/mn10300/interp.c b/sim/mn10300/interp.c index 1a1e9f7b42a..e67bee88c95 100644 --- a/sim/mn10300/interp.c +++ b/sim/mn10300/interp.c @@ -993,7 +993,7 @@ sim_open (kind, cb, abfd, argv) /* device support for mn1030002 */ /* interrupt controller */ - sim_hw_parse (sd, "/mn103int@0x34000100/reg 0x34000100 0x7C 0x34000200 0x8 0x3400280 0x8"); + sim_hw_parse (sd, "/mn103int@0x34000100/reg 0x34000100 0x7C 0x34000200 0x8 0x34000280 0x8"); /* DEBUG: NMI input's */ sim_hw_parse (sd, "/glue@0x30000000/reg 0x30000000 12"); @@ -1084,6 +1084,7 @@ sim_open (kind, cb, abfd, argv) /* Serial devices 0,1,2 */ sim_hw_parse (sd, "/mn103ser@0x34000800/reg 0x34000800 48"); + sim_hw_parse (sd, "/mn103ser@0x34000800/poll? true"); /* Hook serial interrupts up to interrupt controller */ sim_hw_parse (sd, "/mn103ser > serial-0-receive serial-0-receive /mn103int"); @@ -1092,6 +1093,8 @@ sim_open (kind, cb, abfd, argv) sim_hw_parse (sd, "/mn103ser > serial-1-transmit serial-0-transmit /mn103int"); sim_hw_parse (sd, "/mn103ser > serial-2-receive serial-0-receive /mn103int"); sim_hw_parse (sd, "/mn103ser > serial-2-transmit serial-0-transmit /mn103int"); + + sim_hw_parse (sd, "/mn103iop@0x36008000/reg 0x36008000 8 0x36008020 8 0x36008040 0xc 0x36008060 8 0x36008080 8"); } /* end-sanitize-am30 */ -- 2.30.2