[pnm] Remove userptr_t from PNM image parsing

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2025-04-25 17:21:52 +01:00
parent d29651ddec
commit 4c8bf666f4
4 changed files with 29 additions and 32 deletions

View File

@@ -22,6 +22,8 @@ struct pixel_buffer {
unsigned int height;
/** 32-bit (8:8:8:8) xRGB pixel data, in host-endian order */
uint32_t *data;
/** Total number of pixels */
unsigned int pixels;
/** Total length */
size_t len;
};

View File

@@ -10,7 +10,6 @@
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#include <stdint.h>
#include <ipxe/uaccess.h>
#include <ipxe/image.h>
/** PNM signature */