[chore] EVERYTHING!

This commit is contained in:
2026-05-10 20:34:38 +08:00
Unverified
parent e6ccc7cbcf
commit 9bf50d0e84
12 changed files with 82 additions and 21 deletions
+4 -1
View File
@@ -1,5 +1,7 @@
#pragma once
// 这个文件存在的目的是让graphics的draw功能不用每次传 GOP hr vr base
#include <efi.h>
struct gfx_context {
@@ -11,4 +13,5 @@ struct gfx_context {
extern gfx_context g_gfx;
void gfx_init(EFI_GRAPHICS_OUTPUT_PROTOCOL *GOP);
void gfx_init(EFI_GRAPHICS_OUTPUT_PROTOCOL *GOP); // 初始化 GFX
void gfx_clear(void); // 清空 GFX(相当于重置)
+1 -1
View File
@@ -3,4 +3,4 @@
#include <efi.h>
#include <graphics/context.h>
void draw_pixel(unsigned int x, unsigned int y, EFI_GRAPHICS_OUTPUT_BLT_PIXEL color);
void draw_pixel(unsigned int x, unsigned int y, EFI_GRAPHICS_OUTPUT_BLT_PIXEL color); // 画像素