Made save*/restore* macros user-space friendly