[feat] hankaku print
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#include <graphics/context.h>
|
||||
|
||||
gfx_context g_gfx;
|
||||
|
||||
void gfx_init(EFI_GRAPHICS_OUTPUT_PROTOCOL *GOP) {
|
||||
g_gfx.GOP = GOP;
|
||||
g_gfx.hr = GOP->Mode->Info->HorizontalResolution;
|
||||
g_gfx.vr = GOP->Mode->Info->VerticalResolution;
|
||||
g_gfx.base = (EFI_GRAPHICS_OUTPUT_BLT_PIXEL *) GOP->Mode->FrameBufferBase;
|
||||
}
|
||||
Reference in New Issue
Block a user