summaryrefslogtreecommitdiff
path: root/rwhandler.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2011-07-24 19:27:24 +0300
committerAvi Kivity <avi@redhat.com>2011-08-24 20:17:43 +0300
commitfb48f855ee7b91d7a81c7f094399cfe4d0718be1 (patch)
tree79cf50ceb3e21622ddfe95a64f5da3fb0f6f876e /rwhandler.h
parentd2c33733c85c4df7cd0f5e0426a22e737d542516 (diff)
downloadqemu-fb48f855ee7b91d7a81c7f094399cfe4d0718be1.zip
ReadWriteHandler: remove
No longer used. Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'rwhandler.h')
-rw-r--r--rwhandler.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/rwhandler.h b/rwhandler.h
deleted file mode 100644
index b2a5790548..0000000000
--- a/rwhandler.h
+++ /dev/null
@@ -1,27 +0,0 @@
-#ifndef READ_WRITE_HANDLER_H
-#define READ_WRITE_HANDLER_H
-
-#include "qemu-common.h"
-#include "ioport.h"
-
-typedef struct ReadWriteHandler ReadWriteHandler;
-
-/* len is guaranteed to be one of 1, 2 or 4, addr is guaranteed to fit in an
- * appropriate type (io/memory/etc). They do not need to be range checked. */
-typedef void WriteHandlerFunc(ReadWriteHandler *, pcibus_t addr,
- uint32_t value, int len);
-typedef uint32_t ReadHandlerFunc(ReadWriteHandler *, pcibus_t addr, int len);
-
-struct ReadWriteHandler {
- WriteHandlerFunc *write;
- ReadHandlerFunc *read;
-};
-
-/* Helpers for when we want to use a single routine with length. */
-/* CPU memory handler: both read and write must be present. */
-int cpu_register_io_memory_simple(ReadWriteHandler *, int endian);
-/* io port handler: can supply only read or write handlers. */
-int register_ioport_simple(ReadWriteHandler *,
- pio_addr_t start, int length, int size);
-
-#endif