stivale2: Implement cols and rows fields for terminal struct tag
diff --git a/stage23/protos/stivale2.c b/stage23/protos/stivale2.c
index 752dfe7e..56bfe37e 100644
--- a/stage23/protos/stivale2.c
+++ b/stage23/protos/stivale2.c
@@ -303,6 +303,11 @@ void stivale2_load(char *config, char *cmdline, bool pxe, void *efi_system_table
tag->term_write = (uintptr_t)term_write;
#endif
+ // We provide rows and cols
+ tag->flags |= (1 << 0);
+ tag->cols = term_cols;
+ tag->rows = term_rows;
+
append_tag(&stivale2_struct, (struct stivale2_tag *)tag);
goto skip_modeset;
