Files
PluralTechnology/service/ptos/drivers/bootvid/fbio.c
T
2026-07-10 06:52:38 +00:00

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);
}