]> Git Repo - qemu.git/blobdiff - ioport.h
target-ppc: fix typo in _cpu_ppc_load_decr
[qemu.git] / ioport.h
index 309a402f86ecea89f36aa5c34b54dbbbc4f57fad..4cb59e951f3cd3027086cfe6c8ea6ad06418e6a4 100644 (file)
--- a/ioport.h
+++ b/ioport.h
@@ -28,6 +28,7 @@
 #include "qemu-common.h"
 
 #define MAX_IOPORTS     (64 * 1024)
+#define IOPORTS_MASK    (MAX_IOPORTS - 1)
 
 /* These should really be in isa.h, but are here to make pc.h happy.  */
 typedef void (IOPortWriteFunc)(void *opaque, uint32_t address, uint32_t data);
This page took 0.02318 seconds and 4 git commands to generate.