Support ARM in raw_write.h