John Baldwin: >>+ pmap_map((vm_offset_t)dst, boot_address, boot_address + size, 0); >> >> >This changes the value of 'dst', which is bad. :) I looked at using it but >decided not to because of that. > va = boot_address + KERNBASE; dst = (u_char *) pmap_map(&va, boot_address, boot_address + size, 0); rik