mirror of
https://github.com/ipxe/ipxe
synced 2025-12-13 15:31:42 +03:00
Rename copy_user() to memcpy_user(). Add memmove_user() and
userptr_add().
This commit is contained in:
@@ -94,7 +94,7 @@ static int elf_load_segment ( struct image *image, Elf_Phdr *phdr ) {
|
||||
}
|
||||
|
||||
/* Copy image to segment */
|
||||
copy_user ( buffer, 0, image->data, phdr->p_offset, phdr->p_filesz );
|
||||
memcpy_user ( buffer, 0, image->data, phdr->p_offset, phdr->p_filesz );
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user