sim: gpio: add output support
[binutils-gdb.git] / sim / bfin / ChangeLog
index 7bbd15efc05e29288bf695ff6338c79f6e3689fa..6314e9755ad12970adbe116ccff4408ca8ff6ef6 100644 (file)
@@ -1,3 +1,31 @@
+2011-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-bfin_gpio.c (bfin_gpio_forward_ouput): New function.
+       (bfin_gpio_io_write_buffer): Store the current port state into
+       "data", and call bfin_gpio_forward_ouput when the data or dir
+       MMRs are updated.
+       (bfin_gpio_ports): Change p0..p15 to bidirect_port.
+
+2011-04-26  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-bfin_gpio.c (bfin_gpio): Add "int_state" member.
+       (bfin_gpio_forward_int, bfin_gpio_forward_ints): New functions.
+       (bfin_gpio_io_write_buffer): Call bfin_gpio_forward_int when the
+       mask a or mask b MMRs are written.
+       (bfin_gpio_port_event): When handling edge gpios, set the bit in
+       int_state, call bfin_gpio_forward_ints, and then clear the bit.
+       When handling level gpios, clear/set the bit in int_state rather
+       than returning immediately.  Call bfin_gpio_forward_ints instead
+       of checking mask[ab] and calling HW_TRACE/hw_port_event directly.
+
+2011-04-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * bfin-sim.c (decode_dsp32alu_0): Call STORE instead of SET_DREG for
+       BYTEOP2P, BYTEOP3P, BYTEOP1P, BYTEOP16P, BYTEOP16M, BYTEPACK, and
+       BYTEUNPACK.
+       (decode_dsp32shift_0): Call STORE instead of SET_DREG for PACK,
+       BITMUX, EXTRACT, DEPOSIT, ALIGN8, ALIGN16, and ALIGN24.
+
 2011-04-14  Mike Frysinger  <vapier@gentoo.org>
 
        * bfin-sim.c (decode_dsp32alu_0): Set DIS_ALGN_EXPT when handling