aboutsummaryrefslogtreecommitdiff
path: root/sim/mn10300
AgeCommit message (Collapse)AuthorFilesLines
1998-07-01 * mn10300_sim.h (FETCH24): Define.Jeff Law1-0/+7
* mn10300_sim.h: Add defines for some registers found on the AM33.
1998-06-30 * mn10300_sim.h: Include bfd.hJeff Law3-10/+57
(struct state): Add more room for processor specific registers. start-sanitize-am33 (REG_E0): Define. end-sanitize-am33
1998-06-25Thu Jun 25 10:12:03 1998 Joyce Janczyn <janczyn@cygnus.com>Joyce Janczyn1-0/+12
* dv-mn103tim.c: Include sim-assert.h * dv-mn103ser.c (do_polling_event): Check for incoming data on serial line and schedule next polling event. (read_status_reg): schedule events to check for incoming data on serial line and issue interrupt if necessary.
1998-06-19Fri Jun 19 11:59:26 1998 Joyce Janczyn <janczyn@cygnus.com>Joyce Janczyn2-1/+6
* interp.c (board): Rename am32 to stdeval1 as this is the name consistently used to refer to the mn1030002 board.
1998-06-18Thu June 18 14:37:14 1998 Joyce Janczyn <janczyn@cygnus.com>Joyce Janczyn2-3/+19
* interp.c (sim_open): Fix typo in address of EXTMD register (0x34000280, not 0x3400280).
1998-06-18 * simops.c (syscall): Handle change in opcode # for syscall.Jeff Law1-1/+1
* mn10300.igen (syscall): Likewise.
1998-06-16Tue June 16 09:36:21 1998 Joyce Janczyn <janczyn@cygnus.com>Joyce Janczyn1-0/+4
* dv-mn103int.c (mn103int_finish): Regular interrupts (not NMI or reset) are not enabled on reset.
1998-06-14Updates to dv-mn103iop.c, dv-mn103ser.c and inter.cJoyce Janczyn1-0/+5
1998-06-12Fri June 12 16:24:00 1998 Joyce Janczyn <janczyn@cygnus.com>Joyce Janczyn1-0/+6
* dv-mn103iop.c: New file for handling am32 io ports. * configure.in: Add mn103iop to hw_device list. * configure: Re-generate. * interp.c (sim_open): Create io port device.
1998-06-12Add dv-mn103iop.Joyce Janczyn1-1/+1
1998-06-12New file for handling mn1030002 io ports.Joyce Janczyn1-0/+514
1998-06-12Add dv-mn103iop.c to list of files to sanitize out.Joyce Janczyn1-1/+1
1998-06-10Wed June 10 14:34:00 1998 Joyce Janczyn <janczyn@cygnus.com>Joyce Janczyn2-2/+12
* dv-mn103int.c (external_group): Use enumerated types to access correct group addresses. * dv-mn103tim.c (do_counter_event): Underflow of cascaded timer triggers an interrupt on the higher-numbered timer's port.
1998-06-08Support for timers for mn103002. Still needs more testing/debugging.Joyce Janczyn1-0/+823
1998-06-08Add dv-mn103tim.c and dv-mn103ser.cJoyce Janczyn1-1/+1
1998-06-08Add timer and serial devices (mn103tim and mn103ser), supportJoyce Janczyn1-0/+22
--board=am32 for runtime control of device simulation, and adjust interrupt settings to support am32 instead of am30.
1998-06-08Skeleton file for mn1030002 serial device implementation.Joyce Janczyn1-0/+413
1998-06-08Fix typo.Joyce Janczyn1-3/+0
1998-06-08Fix interrupt settings for mn103002, not mn10300 implementation.Joyce Janczyn1-74/+60
1998-06-08 * interp.c: (mn10300_option_handler): New function parses argumentsJoyce Janczyn1-114/+156
using sim-options. start-sanitize-am30 * (board): Add --board option for specifying am32. * (sim_open): Create new timer and serial devices and control configuration of other am32 devices via board option. end-sanitize-am30
1998-06-08Add new devices: mn103tim and mn103ser.Joyce Janczyn2-155/+213
1998-05-25Split out hw-event code. Clean up interface. Update all users.Andrew Cagney2-2/+7
1998-05-22Only enable H/W on some mips targets.Andrew Cagney2-1/+5
Move common hw-obj to Make-common Pacify GCC
1998-05-22Back out of hw-main _callback -> _descriptor changesAndrew Cagney3-18/+12
1998-05-21Fix sign extension on 32 bit add/sub instructions.Andrew Cagney3-56/+82
1998-04-29Tue Apr 28 18:28:58 1998 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer1-0/+4
* common/aclocal.m4: call AM_EXEEXT in SIM_AC_COMMON, define AM_CYGWIN32 and AM_EXEEXT. * common/Make-common.in: set EXEEXT, add missing EXEEXTs to run and install-common rules. * common/configure: regenerate And update all subdirectory ChangeLogs and configure files.
1998-04-26 * configure: Regenerated to track ../common/aclocal.m4 changes.Tom Tromey5-130/+158
* config.in: Ditto. * acconfig.h: New file. * configure.in: Reverted change of Apr 24; use sinclude again.
1998-04-24 * configure: Regenerated to track ../common/aclocal.m4 changes.Tom Tromey3-52/+1827
* config.in: Ditto. * configure.in: Don't call sinclude.
1998-04-21Add sim-main.c to things to keep.Jason Molenda1-0/+1
1998-04-14* mn10300_sim.h: Declare all functions in op_utils.c using INLINE_SIM_MAIN.Andrew Cagney1-0/+4
* op_utils.c: Ditto. * sim-main.c: New file. Include op_utils.c.
1998-04-14o Use new `!<field>' and `=<field>' operators in spec ofAndrew Cagney3-5/+25
MOV and CMP instructions. o Enable basic inlining. Diable use of SIM_MAIN_INLINE.
1998-04-04Cleanup INLINE support for simulators using common framework.Andrew Cagney2-49/+67
Make IGEN responsible for co-ordinating inlining of generated files. By default, aclocal.m4 disabled all inlining.
1998-03-27Add sanitize-am30 markers. Keep details of AM30 implementation ofAndrew Cagney5-35/+95
mn10300 out of the public eye. Do something with top-level cgen directory.
1998-03-26* dv-mn103cpu.c (deliver_mn103cpu_interrupt): Stop loss of succeedingAndrew Cagney2-2/+14
interrupts, clear pending_handler when the handler isn't re-scheduled.
1998-03-26 * Makefile.in (tmp-igen): Prefix all usage of move-if-changeStu Grossman1-0/+6
script with $(SHELL) to make NT native builds happy. * configure: Regenerate because of change to ../common/aclocal.m4.
1998-03-26* configure.in: Make --enable-sim-common the default.Andrew Cagney3-4/+12
* configure: Re-generate. * sim-main.h (CIA_GET, CIA_SET): Save/restore current instruction address into Sate.regs[REG_PC] instead of common struct.
1998-03-25 * mn10300.igen (cmp imm8,An): Do not sign extend imm8 value.Joyce Janczyn2-1/+5
1998-03-25 * simops.c (OP_F0FD): Initialise variable 'sp' for rti instruction.Joyce Janczyn2-0/+5
1998-03-25* dv-mn103int.c (decode_group): A group register every 4 bytes not 8.Andrew Cagney1-0/+7
(write_icr): Rewrite equation updating request field. (read_iagr): Fix check that interrupt is still pending.
1998-03-25* interp.c (sim_open): Tidy up device creation.Andrew Cagney3-48/+89
* dv-mn103int.c (mn103int_port_event): Drive NMI with non-zero value. (mn103int_io_read_buffer): Convert absolute address to register block offsets. (read_icr, write_icr): Convert block offset into group offset.
1998-03-25* interp.c (sim_open): Create second 1mb memory region at 0x40000000.Andrew Cagney7-197/+1433
(sim_open): Create a device tree. (sim-hw.h): Include. (do_interrupt): Delete, needs to use dv-mn103cpu.c * dv-mn103int.c, dv-mn103cpu.c: New files.
1998-03-25* mn10300_sim.h (EXTRACT_PSW_LM, INSERT_PSW_LM, PSW_IE, PSW_LM): Define.Andrew Cagney1-0/+6
(SP): Define.
1998-03-25Re-do --enable-sim-hardware so that each simulator can specify the devicesAndrew Cagney1-0/+4
it wants built. Generate hw-config.h.
1998-03-25Pacify GCC.Andrew Cagney6-51/+72
1998-03-24Add new files: mn10300.igen, mn10300.dc, sim-main.h, op_utils.cJoyce Janczyn1-0/+4
1998-03-24Port mn10300 simulator to build with the common simulator frameworkJoyce Janczyn1-0/+41
under the configure option --enable-sim-common.
1998-03-24Add code to support building mn10300 simulator with the common simulatorJoyce Janczyn1-79/+398
framework.
1998-03-24Add support for building simulator based on common simulator framework.Joyce Janczyn1-5/+110
Separate out files which get compiled depending on --enable-sim-common configuration.
1998-03-24Add ability to configure mn10300 built with common simulator code base.Joyce Janczyn2-50/+551
Use --enable-sim-common to build this way; default configure has not changed.
1998-03-24New {load/store}_{byte/half/word} macros for simulator built withJoyce Janczyn1-5/+209
common framework.