| Branch: | Revision:

root / iorange.h @ a74cdab4

History | View | Annotate | Download (663 Bytes)

# Date Author Comment
acd1c812 11/21/2010 05:16 pm Avi Kivity

Type-safe ioport callbacks

The current ioport callbacks are not type-safe, in that they accept an "opaque"
pointer as an argument whose type must match the argument to the registration
function; this is not checked by the compiler.

This patch adds an alternative that is type-safe. Instead of an opaque...