b588cc0217
Signed-off-by: Chloe M. <chloe@mensia.org>
29 lines
576 B
C
29 lines
576 B
C
/*
|
|
* Copyright (c) 2026, Chloe M.
|
|
* Provided under the BSD-3 clause.
|
|
*
|
|
* Description: Bootvid driver
|
|
* Author: Chloe M.
|
|
*/
|
|
|
|
#include <drivers/bootvid/fbio.h>
|
|
#include <ke/bpal.h>
|
|
#include <ex/trace.h>
|
|
|
|
#define DTRACE(Fmt, ...) \
|
|
TRACE("[ BOOTVID ]: " Fmt, ##__VA_ARGS__)
|
|
|
|
static BPAL_FRAMEBUFFER Framebuffer;
|
|
|
|
VOID
|
|
BootVidInit(VOID)
|
|
{
|
|
BPAL_HANDLE BpalHandle;
|
|
|
|
KeBpalGetHandle(&BpalHandle);
|
|
Framebuffer = BpalHandle.Framebuffer;
|
|
|
|
DTRACE("framebuffer width: %d\n", Framebuffer.Width);
|
|
DTRACE("framebuffer height: %d\n", Framebuffer.Height);
|
|
}
|