[uaccess] Remove trivial uses of userptr_t

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2025-04-24 01:30:50 +01:00
parent 945df9b429
commit e8ffe2cd64
34 changed files with 69 additions and 86 deletions

View File

@@ -57,7 +57,7 @@ struct errortab segment_errors[] __errortab = {
* @v memsz Size of the segment
* @ret rc Return status code
*/
int prep_segment ( userptr_t segment, size_t filesz, size_t memsz ) {
int prep_segment ( void *segment, size_t filesz, size_t memsz ) {
struct memory_map memmap;
physaddr_t start = virt_to_phys ( segment );
physaddr_t mid = ( start + filesz );