activemap_copyin
void activemap_copyin(struct activemap *amp, const unsigned char *buf,
activemap_copyin(res->hr_amp, buf, mapsize);