21 lines
434 B
C
21 lines
434 B
C
#ifndef _KERNEL_PROC_KPPROC_FB_H
|
|
#define _KERNEL_PROC_KPPROC_FB_H
|
|
|
|
#include <aux/compiler.h>
|
|
#include <libk/std.h>
|
|
|
|
/* data to expose as a kpproc resource */
|
|
struct kpproc_fb {
|
|
uintptr_t paddr;
|
|
uint64_t w, h, pitch;
|
|
uint16_t bpp;
|
|
uint8_t red_mask_size;
|
|
uint8_t red_mask_shift;
|
|
uint8_t green_mask_size;
|
|
uint8_t green_mask_shift;
|
|
uint8_t blue_mask_size;
|
|
uint8_t blue_mask_shift;
|
|
};
|
|
|
|
#endif // _KERNEL_PROC_KPPROC_FB_H
|