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