Added restore-frame and save-frame on ARM