• Avi Kivity's avatar
    ioport: add destructor method to IORange · c5b703ac
    Avi Kivity authored
    Previously all callers had a containing object with a destructor that
    could be used to trigger cleanup of the IORange objects (typically
    just freeing the containing object), but a forthcoming memory API
    change doesn't fit this pattern.  Rather than setting up a new global
    table, extend the ioport system to support destructors.
    Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
    c5b703ac
ioport.h 2.64 KB