From 85b64c16424ce690ba7f640c2f0bde6e70295112 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 28 May 2018 15:33:56 +0200 Subject: [console] Add option to update margins and bg-image of vesa mode console Adding --update to the console call will prevent the vesa mode from being initialized again. The existing mode will be reused. This makes it possible to quickly update the background image or console margins without ugly flickering. --- src/include/ipxe/console.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/include/ipxe') diff --git a/src/include/ipxe/console.h b/src/include/ipxe/console.h index 1b764aaca..ca8093a73 100644 --- a/src/include/ipxe/console.h +++ b/src/include/ipxe/console.h @@ -38,6 +38,8 @@ struct console_configuration { unsigned int bottom; /** Background picture, if any */ struct pixel_buffer *pixbuf; + /** Update mode: Don't re-init vesa mode, just update margins and bg image */ + int lazy_update; }; /** -- cgit v1.2.3-55-g7522