|
@@ -33,6 +33,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
|
33
|
33
|
#include <ipxe/image.h>
|
34
|
34
|
#include <ipxe/pixbuf.h>
|
35
|
35
|
#include <ipxe/umalloc.h>
|
|
36
|
+#include <ipxe/console.h>
|
36
|
37
|
#include <ipxe/fbcon.h>
|
37
|
38
|
|
38
|
39
|
/**
|
|
@@ -781,6 +782,9 @@ int fbcon_init ( struct fbcon *fbcon, userptr_t start,
|
781
|
782
|
/* Clear screen */
|
782
|
783
|
fbcon_clear ( fbcon, 0 );
|
783
|
784
|
|
|
785
|
+ /* Update console width and height */
|
|
786
|
+ console_set_size ( fbcon->character.width, fbcon->character.height );
|
|
787
|
+
|
784
|
788
|
return 0;
|
785
|
789
|
|
786
|
790
|
ufree ( fbcon->picture.start );
|