iPXE
|
Pixel buffer self-tests. More...
#include <assert.h>
#include <ipxe/image.h>
#include <ipxe/pixbuf.h>
#include <ipxe/test.h>
#include "pixbuf_test.h"
Go to the source code of this file.
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
void | pixbuf_okx (struct pixel_buffer_test *test, const char *file, unsigned int line) |
Report pixel buffer test result. More... | |
Pixel buffer self-tests.
Definition in file pixbuf_test.c.
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
void pixbuf_okx | ( | struct pixel_buffer_test * | test, |
const char * | file, | ||
unsigned int | line | ||
) |
Report pixel buffer test result.
test | Pixel buffer test |
file | Test code file |
line | Test code line |
Definition at line 48 of file pixbuf_test.c.
References assert(), pixel_buffer::data, pixel_buffer::height, image_pixbuf(), pixel_buffer::len, memcmp_user(), okx, rc, register_image(), test, unregister_image(), virt_to_user(), and pixel_buffer::width.