History | View | Annotate | Download (705 Bytes)
ioport: add destructor method to IORange
Previously all callers had a containing object with a destructor thatcould be used to trigger cleanup of the IORange objects (typicallyjust freeing the containing object), but a forthcoming memory APIchange doesn't fit this pattern. Rather than setting up a new global...
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 registrationfunction; this is not checked by the compiler.
This patch adds an alternative that is type-safe. Instead of an opaque...