add missing bits for intr resource (not finished, not tested)