ptos: bpal: Obtain framebuffer information
Signed-off-by: Chloe M. <chloe@yiffware.org>
This commit is contained in:
@@ -12,14 +12,33 @@
|
||||
#include <ptapi/status.h>
|
||||
#include <ptdef.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;
|
||||
|
||||
/*
|
||||
* Represents a handle for the boot protocol abstraction
|
||||
* layer containing data filled in by the bootloader.
|
||||
*
|
||||
* @KernelBase: Represents the kernel load base
|
||||
* @KernelBase: Represents the kernel load base
|
||||
* @Framebuffer: Framebuffer information
|
||||
*/
|
||||
typedef struct {
|
||||
UPTR KernelBase;
|
||||
BPAL_FRAMEBUFFER Framebuffer;
|
||||
} BPAL_HANDLE;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user