memset can't set volatile.