Preparing to context branch