diff mbox

[RFC,15/23] Insert event_tap_ioport() to ioport_write().

Message ID 1274776624-16435-17-git-send-email-tamura.yoshiaki@lab.ntt.co.jp (mailing list archive)
State New, archived
Headers show

Commit Message

Yoshiaki Tamura May 25, 2010, 8:36 a.m. UTC
None
diff mbox

Patch

diff --git a/ioport.c b/ioport.c
index 53dd87a..ad7a017 100644
--- a/ioport.c
+++ b/ioport.c
@@ -26,6 +26,7 @@ 
  */
 
 #include "ioport.h"
+#include "event-tap.h"
 
 /***********************************************************/
 /* IO Port */
@@ -75,6 +76,7 @@  static void ioport_write(int index, uint32_t address, uint32_t data)
         default_ioport_writel
     };
     IOPortWriteFunc *func = ioport_write_table[index][address];
+    event_tap_ioport(index, address, data);
     if (!func)
         func = default_func[index];
     func(ioport_opaque[address], address, data);