summaryrefslogtreecommitdiff
path: root/src/kernel/arch/amd64/driver/video.h
diff options
context:
space:
mode:
authordzwdz2022-08-06 00:12:51 +0200
committerdzwdz2022-08-06 00:12:51 +0200
commit03c6f3cf458c89df17b02557cd232f9cde73ed54 (patch)
treea89076307f32d9df6eec550f175accaa73d72408 /src/kernel/arch/amd64/driver/video.h
parent641b857dcfe1cfca625fbd75646b743142a9069c (diff)
make snprintf shared; dynamic resolution support
Diffstat (limited to 'src/kernel/arch/amd64/driver/video.h')
-rw-r--r--src/kernel/arch/amd64/driver/video.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/arch/amd64/driver/video.h b/src/kernel/arch/amd64/driver/video.h
index c1680c4..dfc1710 100644
--- a/src/kernel/arch/amd64/driver/video.h
+++ b/src/kernel/arch/amd64/driver/video.h
@@ -5,6 +5,7 @@ struct fb_info {
char *b;
uint32_t width, height;
uint32_t pitch; /* width in bytes of a single scanline */
+ size_t size;
uint8_t bpp;
};