Replace static variables in the MSP430 simulator with fields in the cpu state structure.
authorNick Clifton <nickc@redhat.com>
Tue, 19 Aug 2014 10:34:14 +0000 (11:34 +0100)
committerNick Clifton <nickc@redhat.com>
Tue, 19 Aug 2014 10:34:14 +0000 (11:34 +0100)
commit180eb0634cd876d759f3cbd5bdce24d363f9f2f1
tree7f5d250cc852a634bbc15d16043d593a0ed34a86
parent34abf635b3edf9d70b24aa655ffd7d4696d48cde
Replace static variables in the MSP430 simulator with fields in the cpu state structure.

* msp430-sim.c: Move static hardware multiply support variables
from here...
* msp430-sim.h (msp430_cpu_state): ... into here ...
* msp430-sim.c (get_op, put_op): ... and update references to use
the msp430_cpu_state structure.
sim/msp430/ChangeLog
sim/msp430/msp430-sim.c
sim/msp430/msp430-sim.h