stos: bpal: Add framebuffer info request
Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
@@ -11,13 +11,32 @@
|
||||
|
||||
#include <stdef.h>
|
||||
|
||||
/*
|
||||
* Represents a framebuffer
|
||||
*/
|
||||
typedef struct {
|
||||
VOID *Address;
|
||||
UQUAD Width;
|
||||
UQUAD Height;
|
||||
UQUAD Pitch;
|
||||
SHORT Bpp;
|
||||
UCHAR RedMaskSize;
|
||||
UCHAR RedMaskShift;
|
||||
UCHAR GreenMaskSize;
|
||||
UCHAR GreenMaskShift;
|
||||
UCHAR BlueMaskSize;
|
||||
UCHAR BlueMaskShift;
|
||||
} BPAL_FRAMEBUFFER;
|
||||
|
||||
/*
|
||||
* Boot protocol abstraction handle
|
||||
*
|
||||
* @KernelBase: Kernel load base
|
||||
* @Framebuffer: Framebuffer info
|
||||
*/
|
||||
typedef struct {
|
||||
UPTR KernelBase;
|
||||
BPAL_FRAMEBUFFER Framebuffer;
|
||||
} BPAL_HANDLE;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user