hibernation_snapshot
error = hibernation_snapshot(hibernation_mode == HIBERNATION_PLATFORM);
extern int hibernation_snapshot(int platform_mode);
error = hibernation_snapshot(data->platform_support);