aboutsummaryrefslogtreecommitdiffstats
path: root/bootloader/vga.h
diff options
context:
space:
mode:
authorGravatar ornitorrincos 2026-08-18 12:15:05 +0200
committerGravatar ornitorrincos 2026-08-18 12:15:05 +0200
commit132d3236bb884433bf94e961f6d32264e0334aec (patch)
tree06638976b06f019ea4037175ff228f8271057c44 /bootloader/vga.h
Diffstat (limited to 'bootloader/vga.h')
-rw-r--r--bootloader/vga.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/bootloader/vga.h b/bootloader/vga.h
new file mode 100644
index 0000000..ba0843c
--- /dev/null
+++ b/bootloader/vga.h
@@ -0,0 +1,16 @@
+#ifndef VGA_H
+#define VGA_H
+
+#include <efi.h>
+#include <efilib.h>
+
+typedef struct _FBinfo
+{
+ int width;
+ int height;
+
+} FBinfo;
+
+void * EFIAPI SetVideoMode(int width, int height, int bitdepth);
+
+#endif // VGA_H