Changed sim_rest to defer attaching devices until after device register contents have been restored.

  This is needed since an attach operation may behave differently depending on the state of other variables.
1 file changed